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

- old
+ new

@@ -18,10 +18,10 @@ let(:status) { 204 } it { should respond_to :remove } it "should fail to delete without 'team_id' parameter" do - expect { subject.delete nil }.to raise_error(ArgumentError) + expect { subject.delete }.to raise_error(ArgumentError) end it "should delete the resource" do subject.delete team_id a_delete(request_path).should have_been_made