spec/github/repos/hooks/edit_spec.rb in github_api-0.8.11 vs spec/github/repos/hooks/edit_spec.rb in github_api-0.9.0
- old
+ new
@@ -59,10 +59,10 @@
a_patch(request_path).with(inputs).should have_been_made
end
it "should return resource" do
hook = subject.edit user, repo, hook_id, inputs
- hook.should be_a Hashie::Mash
+ hook.should be_a Github::ResponseWrapper
end
it "should be able to retrieve information" do
hook = subject.edit user, repo, hook_id, inputs
hook.name.should == 'web'