Permalink
Browse files

Update deprecated rspec usage of expect { }.should

  • Loading branch information...
1 parent 4321b76 commit 0b69fb96e397c1b544c77d3fbb67690f916aea98 @jjbohn jjbohn committed Dec 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/faraday/response_spec.rb
@@ -36,7 +36,7 @@
it "should return the body error message" do
expect do
@client.user_media_feed()
- end.should raise_error(Instagram::BadRequest, /Bad words are bad./)
+ end.to raise_error(Instagram::BadRequest, /Bad words are bad./)
end
end
end

0 comments on commit 0b69fb9

Please sign in to comment.