diff options
Diffstat (limited to 'spec/finders')
-rw-r--r-- | spec/finders/pipelines_finder_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/pipelines_finder_spec.rb b/spec/finders/pipelines_finder_spec.rb index aa8ad66cdf4..3a840eca44f 100644 --- a/spec/finders/pipelines_finder_spec.rb +++ b/spec/finders/pipelines_finder_spec.rb @@ -144,7 +144,7 @@ describe PipelinesFinder do context 'when a username is passed' do context 'when a username exists' do - let(:params) { { username: user1.name } } + let(:params) { { username: user1.username } } it 'selects all pipelines which belong to the username' do expect(subject).to match_array(Ci::Pipeline.where(user: user1)) |