spec/github/repos/hooks/create_spec.rb in github_api-0.8.11 vs spec/github/repos/hooks/create_spec.rb in github_api-0.9.0
- old
+ new
@@ -50,10 +50,10 @@
a_post(request_path).with(inputs).should have_been_made
end
it "should return the resource" do
hook = subject.create user, repo, inputs
- hook.should be_a Hashie::Mash
+ hook.should be_a Github::ResponseWrapper
end
it "should get the hook information" do
hook = subject.create user, repo, inputs
hook.name.should == 'web'