diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-04-12 13:27:19 +0300 |
---|---|---|
committer | James Lopez <james@gitlab.com> | 2019-04-12 13:27:19 +0300 |
commit | f38f160a1b0212d5ce0c0402ae07011466753f44 (patch) | |
tree | e583e5a13158b0e3e7b8d7dcb5d03385ec7c7704 /spec/requests | |
parent | ca8c35285eedb0ae6e9a52fe377ec0b3ae9ada1a (diff) |
Enable RSpec/ExampleWording cop
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/pipelines_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/requests/api/pipelines_spec.rb b/spec/requests/api/pipelines_spec.rb index 0d46463312b..26158231444 100644 --- a/spec/requests/api/pipelines_spec.rb +++ b/spec/requests/api/pipelines_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe API::Pipelines do @@ -493,7 +495,7 @@ describe API::Pipelines do context 'pipeline created is not created by the developer user' do let(:api_user) { create(:user) } - it 'should not return pipeline variables' do + it 'does not return pipeline variables' do subject expect(response).to have_gitlab_http_status(403) @@ -502,7 +504,7 @@ describe API::Pipelines do end context 'user is not a project member' do - it 'should not return pipeline variables' do + it 'does not return pipeline variables' do get api("/projects/#{project.id}/pipelines/#{pipeline.id}/variables", non_member) expect(response).to have_gitlab_http_status(404) |