spec/github/activity/watching/watching_spec.rb in github_api-0.9.0 vs spec/github/activity/watching/watching_spec.rb in github_api-0.9.1
- old
+ new
@@ -31,11 +31,9 @@
end
end
context "without username and reponame passed" do
it "should fail validation " do
- expect {
- subject.watching?(nil, nil)
- }.to raise_error(ArgumentError)
+ expect { subject.watching? user, nil }.to raise_error(ArgumentError)
end
end
end # watching?