Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed expect {}.should to expect {}.to

  • Loading branch information...
commit 91bfb2a8ea0b89f96e721c04e0f2d132b9d61d63 1 parent 742997d
@njh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/wikipedia_api_spec.rb
View
2  spec/wikipedia_api_spec.rb
@@ -538,7 +538,7 @@
end
it "should raise an exception" do
- expect { WikipediaApi.get('query') }.should raise_error(
+ expect { WikipediaApi.get('query') }.to raise_error(
MediaWikiApi::Exception,
'Response from MediaWiki API was not of type application/json.'
)
Please sign in to comment.
Something went wrong with that request. Please try again.