Skip to content

Commit

Permalink
disable DescribeClass rule in config file
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Jan 15, 2016
1 parent 617b8cd commit c9f06e2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,9 @@ Style/PredicateName:
- 'lib/geoblacklight/view_helper_override.rb'

RSpec/FilePath:
Enabled: false

# Rubocop bug causes view specs to fail.
# https://github.com/nevir/rubocop-rspec/issues/47
RSpec/DescribeClass:
Enabled: false
2 changes: 1 addition & 1 deletion spec/views/catalog/_document_split.html.erb_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'spec_helper'

describe 'catalog/_document_split.html.erb' do # rubocop:disable RSpec/DescribeClass
describe 'catalog/_document_split.html.erb' do
# TODO: js plugin refactor really needs to be redone so that the views can be testable
end
2 changes: 1 addition & 1 deletion spec/views/catalog/_index_split.html.erb_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'spec_helper'

describe 'catalog/_document_split.html.erb' do # rubocop:disable RSpec/DescribeClass
describe 'catalog/_document_split.html.erb' do
# TODO: js plugin refactor really needs to be redone so that the views can be testable
end

0 comments on commit c9f06e2

Please sign in to comment.