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

@@ -1,7 +1,7 @@
require 'rails_helper'
require 'cancan/matchers'
describe "Abilities::Organization" do
describe 'Abilities::Organization' do
subject(:ability) { Ability.new(user) }
let(:user) { organization.user }
let(:organization) { create(:organization) }