diff options
Diffstat (limited to 'spec/services/compare_service_spec.rb')
-rw-r--r-- | spec/services/compare_service_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/services/compare_service_spec.rb b/spec/services/compare_service_spec.rb index fadd43635a6..f6d8eb348d0 100644 --- a/spec/services/compare_service_spec.rb +++ b/spec/services/compare_service_spec.rb @@ -28,6 +28,7 @@ describe CompareService do context 'compare with source branch that does not exist' do let(:service) { described_class.new(project, 'non-existent-branch') } + subject { service.execute(project, 'non-existent-ref') } it { expect(subject).to be_nil } |