test/stackexchange/test_stackexchange.rb in rest-more-3.2.0 vs test/stackexchange/test_stackexchange.rb in rest-more-3.3.0
- old
+ new
@@ -4,10 +4,10 @@
describe RC::StackExchange do
after do
WebMock.reset!
end
- should 'me' do
+ would 'me' do
stub_request(:get,
'https://api.stackexchange.com/me?key=yek&site=stackoverflow').
to_return(:body => '{"name":"meme"}')
RC::StackExchange.new(:key => 'yek').me.should.eq 'name' => 'meme'