spec/github/issues/events/get_spec.rb in github_api-0.9.0 vs spec/github/issues/events/get_spec.rb in github_api-0.9.1

- old
+ new

@@ -19,11 +19,13 @@ let(:body) { fixture('issues/event.json') } let(:status) { 200 } it { should respond_to :find } + it { expect { subject.get }.to raise_error(ArgumentError) } + it "should fail to get resource without event id" do - expect { subject.get user, repo, nil }.to raise_error(ArgumentError) + expect { subject.get user, repo }.to raise_error(ArgumentError) end it "should get the resource" do subject.get user, repo, event_id a_get(request_path).should have_been_made