Skip to content

Commit

Permalink
Merge pull request #15 from toydestroyer/remove-deprecation-warning
Browse files Browse the repository at this point in the history
Fix `stub! is deprecated` warning.
  • Loading branch information
amedrz committed Dec 23, 2015
2 parents 1671c3a + ae49564 commit 536b4e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,6 +1,6 @@
master
===
...
* Fix `stub! is deprecated` warning.

0.6.0
===
Expand Down
2 changes: 1 addition & 1 deletion spec/behance/collections_spec.rb
Expand Up @@ -78,7 +78,7 @@

context "with parameters" do
before do
@options.stub!(page: 1, time: Time.new)
@options.stub(page: 1, time: Time.new)
stub_get("collections/1/projects").with(query: @options).
to_return(body: fixture("collection_projects.json"))
end
Expand Down
2 changes: 1 addition & 1 deletion spec/behance/user_spec.rb
Expand Up @@ -78,7 +78,7 @@

context "with parameters" do
before do
@options.stub!(page: 1, time: Time.new)
@options.stub(page: 1, time: Time.new)
stub_get("users/1/projects").with(query: @options).
to_return(body: fixture("user_projects.json"))
end
Expand Down

0 comments on commit 536b4e0

Please sign in to comment.