diff options
Diffstat (limited to 'spec/features/projects/blobs/blob_show_spec.rb')
-rw-r--r-- | spec/features/projects/blobs/blob_show_spec.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/spec/features/projects/blobs/blob_show_spec.rb b/spec/features/projects/blobs/blob_show_spec.rb index 36665f2b77d..2089c9df145 100644 --- a/spec/features/projects/blobs/blob_show_spec.rb +++ b/spec/features/projects/blobs/blob_show_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'File blob', :js, feature_category: :groups_and_projects do +RSpec.describe 'File blob', :js, feature_category: :source_code_management do include MobileHelpers let(:project) { create(:project, :public, :repository) } @@ -42,9 +42,6 @@ RSpec.describe 'File blob', :js, feature_category: :groups_and_projects do expect(page).to have_css(".js-syntax-highlight") expect(page).to have_content("require 'fileutils'") - # does not show a viewer switcher - expect(page).not_to have_selector('.js-blob-viewer-switcher') - # shows an enabled copy button expect(page).to have_selector('.js-copy-blob-source-btn:not(.disabled)') @@ -299,9 +296,6 @@ RSpec.describe 'File blob', :js, feature_category: :groups_and_projects do # shows text expect(page).to have_content('size 1575078') - # does not show a viewer switcher - expect(page).not_to have_selector('.js-blob-viewer-switcher') - # shows an enabled copy button expect(page).to have_selector('.js-copy-blob-source-btn:not(.disabled)') @@ -430,9 +424,6 @@ RSpec.describe 'File blob', :js, feature_category: :groups_and_projects do # shows text expect(page).to have_content('size 1575078') - # does not show a viewer switcher - expect(page).not_to have_selector('.js-blob-viewer-switcher') - # shows an enabled copy button expect(page).to have_selector('.js-copy-blob-source-btn:not(.disabled)') |