spec/github/repos/hooks_spec.rb in github_api-0.4.7 vs spec/github/repos/hooks_spec.rb in github_api-0.4.8

- old
+ new

@@ -25,10 +25,9 @@ stub_get("/repos/#{user}/#{repo}/hooks"). to_return(:body => fixture('repos/hooks.json'), :status => 200, :headers => {:content_type => "application/json; charset=utf-8"}) end it "should fail to get resource without username" do - github.user, github.repo = nil, nil expect { github.repos.hooks }.to raise_error(ArgumentError) end it "should get the resources" do github.repos.hooks user, repo