Commit 8730ad6f authored by Sean Arnold's avatar Sean Arnold

Add expectation to spec

parent b24e475b
...@@ -48,9 +48,9 @@ describe ErrorTracking::ListIssuesService do ...@@ -48,9 +48,9 @@ describe ErrorTracking::ListIssuesService do
describe '#external_url' do describe '#external_url' do
it 'calls the project setting sentry_external_url' do it 'calls the project setting sentry_external_url' do
expect(error_tracking_setting).to receive(:sentry_external_url) expect(error_tracking_setting).to receive(:sentry_external_url).and_return(sentry_url)
subject.external_url expect(subject.external_url).to eql sentry_url
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment