diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-06 03:08:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-06 03:08:02 +0000 |
commit | ed73d4f207ef6cb8646719baa1188d096c9f3139 (patch) | |
tree | dea7ab9906154c73204a0361163e30500f929d44 /spec/features/snippets/show_spec.rb | |
parent | 2349eabc1a473bfb70555f0ce6d3d808cecb181d (diff) | |
download | gitlab-ce-ed73d4f207ef6cb8646719baa1188d096c9f3139.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/snippets/show_spec.rb')
-rw-r--r-- | spec/features/snippets/show_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/snippets/show_spec.rb b/spec/features/snippets/show_spec.rb index 450e520e293..9c686be012b 100644 --- a/spec/features/snippets/show_spec.rb +++ b/spec/features/snippets/show_spec.rb @@ -6,6 +6,10 @@ describe 'Snippet', :js do let(:project) { create(:project, :repository) } let(:snippet) { create(:personal_snippet, :public, file_name: file_name, content: content) } + before do + stub_feature_flags(snippets_vue: false) + end + context 'Ruby file' do let(:file_name) { 'popen.rb' } let(:content) { project.repository.blob_at('master', 'files/ruby/popen.rb').data } |