spec/github/users/keys/update_spec.rb in github_api-0.8.11 vs spec/github/users/keys/update_spec.rb in github_api-0.9.0
- old
+ new
@@ -38,10 +38,10 @@
:query => {:access_token => OAUTH_TOKEN}).should have_been_made
end
it "should return the resource" do
key = subject.update key_id, inputs
- key.should be_a Hashie::Mash
+ key.should be_a Github::ResponseWrapper
end
it "should get the key information" do
key = subject.update key_id, inputs
key.title.should == 'octocat@octomac'