Enable RSpec/DescribeClass rubocop rspec cop & fix issues

Manually fixes all issues & "stashed" false positives at .rubocop_todo.yml

Read about the cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribeClass
This commit is contained in:
Bertocq
2018-01-07 00:09:05 +01:00
parent 61be1015dd
commit 6ec6f64675
24 changed files with 44 additions and 27 deletions

View File

@@ -35,7 +35,7 @@ def extract_fields(response, collection_name, field_chain)
end.compact
end
describe 'ConsulSchema' do
describe 'Consul Schema' do
let(:user) { create(:user) }
let(:proposal) { create(:proposal, author: user) }