diff --git a/CHANGELOG.md b/CHANGELOG.md index 32e7961..d7254d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ master === -... +* Fix `stub! is deprecated` warning. 0.6.0 === diff --git a/spec/behance/collections_spec.rb b/spec/behance/collections_spec.rb index 41230aa..1f54dfd 100644 --- a/spec/behance/collections_spec.rb +++ b/spec/behance/collections_spec.rb @@ -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 diff --git a/spec/behance/user_spec.rb b/spec/behance/user_spec.rb index 32da0d8..e0ae3e8 100644 --- a/spec/behance/user_spec.rb +++ b/spec/behance/user_spec.rb @@ -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