spec/github/orgs/teams/get_spec.rb in github_api-0.9.0 vs spec/github/orgs/teams/get_spec.rb in github_api-0.9.1
- old
+ new
@@ -16,10 +16,10 @@
context "resource found" do
let(:body) { fixture('orgs/team.json') }
let(:status) { 200 }
it "should fail to get resource without org name" do
- expect { subject.get nil }.to raise_error(ArgumentError)
+ expect { subject.get }.to raise_error(ArgumentError)
end
it "should get the resource" do
subject.get team
a_get(request_path).should have_been_made