test/dropbox/test_dropbox.rb in rest-more-3.2.0 vs test/dropbox/test_dropbox.rb in rest-more-3.3.0

- old
+ new

@@ -4,11 +4,11 @@ describe RC::Dropbox do after do WebMock.reset! end - should 'get right' do + would 'get right' do stub_request(:get, 'https://api.dropbox.com/1/account/info'). to_return(:body => '{"status": "OK"}') RC::Dropbox.new.me.should.eq({'status' => 'OK'}) end @@ -22,10 +22,10 @@ }.should.raise(klass) WebMock.reset! end - should 'raise exception when encountering error' do + would 'raise exception when encountering error' do [401, 402, 403].each{ |status| check(status, RC::Dropbox::Error) } [500, 502, 503].each{ |status| check(status, RC::Dropbox::Error:: ServerError) } end end