Fix all Layout/TrailingWhitespace rubocop issues and remove from rubocop_todo list
This commit is contained in:
@@ -674,12 +674,6 @@ Style/SymbolProc:
|
||||
- 'lib/manager_authenticator.rb'
|
||||
- 'spec/factories.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
Layout/TrailingWhitespace:
|
||||
Exclude:
|
||||
- 'app/controllers/admin/api/stats_controller.rb'
|
||||
|
||||
# Offense count: 31
|
||||
# Cop supports --auto-correct.
|
||||
Style/UnneededInterpolation:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
class Geozone < ActiveRecord::Base
|
||||
|
||||
include Graphqlable
|
||||
|
||||
|
||||
has_many :proposals
|
||||
has_many :spending_proposals
|
||||
has_many :debates
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
class Organization < ActiveRecord::Base
|
||||
|
||||
include Graphqlable
|
||||
|
||||
|
||||
belongs_to :user, touch: true
|
||||
|
||||
validates :name, presence: true
|
||||
|
||||
@@ -197,7 +197,7 @@ describe "Abilities::Common" do
|
||||
it { should_not be_able_to(:vote, investment_in_accepting_budget) }
|
||||
it { should be_able_to(:vote, investment_in_selecting_budget) }
|
||||
it { should_not be_able_to(:vote, investment_in_balloting_budget) }
|
||||
|
||||
|
||||
it { should_not be_able_to(:destroy, investment_in_accepting_budget) }
|
||||
it { should_not be_able_to(:destroy, investment_in_reviewing_budget) }
|
||||
it { should_not be_able_to(:destroy, investment_in_selecting_budget) }
|
||||
|
||||
Reference in New Issue
Block a user