diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-12-18 02:21:30 +0300 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2018-12-18 02:21:30 +0300 |
commit | 236876f27823953138bb212db284782032d117d4 (patch) | |
tree | 9ba7093fb7e88be0ef2b57121ab04f92abb9f5ca /spec/models/merge_request_spec.rb | |
parent | 6964e510534c1d08fd730918ba3b9581dbd679a6 (diff) |
Update specs to exclude possible false positive pass
Diffstat (limited to 'spec/models/merge_request_spec.rb')
-rw-r--r-- | spec/models/merge_request_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/merge_request_spec.rb b/spec/models/merge_request_spec.rb index bf4117fbcaf..7fd5307b906 100644 --- a/spec/models/merge_request_spec.rb +++ b/spec/models/merge_request_spec.rb @@ -1358,7 +1358,7 @@ describe MergeRequest do it 'does not raises a NameError exception' do allow_any_instance_of(service_class_name.constantize).to receive(:execute).and_return(nil) - expect { subject }.not_to raise_error(NameError) + expect { subject }.not_to raise_error end end end |