diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-01 14:30:50 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-01 14:36:34 +0200 |
commit | e5df86f54d6165e0b3871678dd987956dddfa061 (patch) | |
tree | 0e105baec5515a139bb1068609a6d7f50f20b3ae /spec/models | |
parent | 4f2cc5951f3d2862a44fe124ef9a879162028e62 (diff) | |
download | gitlab-ce-e5df86f54d6165e0b3871678dd987956dddfa061.tar.gz |
Fix Rubocop offense in environments policy class
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/ci/build_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index b2f9a61f7f3..5231ce28c9d 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -911,7 +911,7 @@ describe Ci::Build, :models do it { is_expected.to eq(environment) } end - context 'when referenced with a variable' do + context 'when referenced with a variable' do let(:build) do create(:ci_build, pipeline: pipeline, environment: "foo-$CI_COMMIT_REF_NAME") end |