diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-25 16:38:15 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-27 12:23:27 -0500 |
commit | dc4726f0a707019c64e60e58d45bb647a43d4ec8 (patch) | |
tree | 617118638bf5b50862678451fe651bc60c8e141b | |
parent | 61fd9ccf47f66ef2d653a35f2b13f36c2a76f4a9 (diff) | |
download | gitlab-ce-dc4726f0a707019c64e60e58d45bb647a43d4ec8.tar.gz |
Satisfy Rubocop
-rw-r--r-- | spec/helpers/blob_helper_spec.rb | 1 | ||||
-rw-r--r-- | spec/views/projects/blob/_viewer.html.haml_spec.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/spec/helpers/blob_helper_spec.rb b/spec/helpers/blob_helper_spec.rb index d9154ec8152..8a89cd71e98 100644 --- a/spec/helpers/blob_helper_spec.rb +++ b/spec/helpers/blob_helper_spec.rb @@ -196,7 +196,6 @@ describe BlobHelper do end end - context 'when the viewer is not rich' do before do viewer_class.type = :simple diff --git a/spec/views/projects/blob/_viewer.html.haml_spec.rb b/spec/views/projects/blob/_viewer.html.haml_spec.rb index c790dc79b0a..a4915264abe 100644 --- a/spec/views/projects/blob/_viewer.html.haml_spec.rb +++ b/spec/views/projects/blob/_viewer.html.haml_spec.rb @@ -43,7 +43,6 @@ describe 'projects/blob/_viewer.html.haml', :view do it 'adds a URL to the blob viewer element' do render_view - expect(rendered).to have_css('.blob-viewer[data-url]') end |