spec/github/activity/events/performed_spec.rb in github_api-0.9.0 vs spec/github/activity/events/performed_spec.rb in github_api-0.9.1
- old
+ new
@@ -16,10 +16,10 @@
after { reset_authentication_for subject }
context "resource found" do
it "should fail to get resource without username" do
- expect { subject.performed nil }.to raise_error(ArgumentError)
+ expect { subject.performed }.to raise_error(ArgumentError)
end
it "should get the resources" do
subject.performed user
a_get(request_path).should have_been_made