diff options
author | Jason Goodman <jgoodman@gitlab.com> | 2019-07-31 11:06:50 -0400 |
---|---|---|
committer | Jason Goodman <jgoodman@gitlab.com> | 2019-07-31 11:06:50 -0400 |
commit | 3830d34159f128120d6c57e82ada6855550ccc36 (patch) | |
tree | 8c38fb18f21cb3a1dc2551660709b3480167dea8 /spec/models/environment_spec.rb | |
parent | cccdc0645284b8ac933e981f004c19eb162405fe (diff) | |
download | gitlab-ce-3830d34159f128120d6c57e82ada6855550ccc36.tar.gz |
Move using to top describe blockdouble-slash-64592
Diffstat (limited to 'spec/models/environment_spec.rb')
-rw-r--r-- | spec/models/environment_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/models/environment_spec.rb b/spec/models/environment_spec.rb index 2b67f6d7e92..d2e0bed721e 100644 --- a/spec/models/environment_spec.rb +++ b/spec/models/environment_spec.rb @@ -4,6 +4,7 @@ require 'spec_helper' describe Environment, :use_clean_rails_memory_store_caching do include ReactiveCachingHelpers + using RSpec::Parameterized::TableSyntax let(:project) { create(:project, :stubbed_repository) } subject(:environment) { create(:environment, project: project) } @@ -794,8 +795,6 @@ describe Environment, :use_clean_rails_memory_store_caching do end context 'when the public path is known' do - using RSpec::Parameterized::TableSyntax - where(:external_url, :public_path, :full_url) do 'http://example.com' | 'file.html' | 'http://example.com/file.html' 'http://example.com/' | 'file.html' | 'http://example.com/file.html' |