spec/github/orgs/teams/edit_spec.rb in github_api-0.9.0 vs spec/github/orgs/teams/edit_spec.rb in github_api-0.9.1

- old
+ new

@@ -23,10 +23,10 @@ context "resouce edited" do let(:body) { fixture('orgs/team.json') } let(:status) { 200 } it "should fail to create resource if 'team name' param is missing" do - expect { subject.edit nil, inputs }.to raise_error(ArgumentError) + expect { subject.edit }.to raise_error(ArgumentError) end it "should failt to create resource if 'name' input is missing" do expect { subject.edit team, inputs.except(:name)