summaryrefslogtreecommitdiff
path: root/spec/views/projects/tree/show.html.haml_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/projects/tree/show.html.haml_spec.rb')
-rw-r--r--spec/views/projects/tree/show.html.haml_spec.rb24
1 files changed, 1 insertions, 23 deletions
diff --git a/spec/views/projects/tree/show.html.haml_spec.rb b/spec/views/projects/tree/show.html.haml_spec.rb
index 8c6b229247d..bdf9b08d8f5 100644
--- a/spec/views/projects/tree/show.html.haml_spec.rb
+++ b/spec/views/projects/tree/show.html.haml_spec.rb
@@ -2,7 +2,7 @@
require 'spec_helper'
-describe 'projects/tree/show' do
+RSpec.describe 'projects/tree/show' do
include Devise::Test::ControllerHelpers
let(:project) { create(:project, :repository) }
@@ -39,26 +39,4 @@ describe 'projects/tree/show' do
expect(rendered).to have_css('.js-project-refs-dropdown .dropdown-toggle-text', text: ref)
end
end
-
- context 'commit signatures' do
- context 'with vue tree view disabled' do
- before do
- stub_feature_flags(vue_file_list: false)
- end
-
- it 'rendered via js-signature-container' do
- render
-
- expect(rendered).to have_css('.js-signature-container')
- end
- end
-
- context 'with vue tree view enabled' do
- it 'are not rendered via js-signature-container' do
- render
-
- expect(rendered).not_to have_css('.js-signature-container')
- end
- end
- end
end