Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update deprecated rspec usage of expect { }.should #54

Merged
merged 1 commit into from

2 participants

@jjbohn

expect { }.should is deprecated. Updated to expect { }.to

@shayne shayne merged commit cb67873 into Instagram:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 18, 2012
  1. @jjbohn
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/faraday/response_spec.rb
View
2  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
Something went wrong with that request. Please try again.