Enable Style/SpaceAroundOperators Rubocop

Cleared all the offenses for Style/SpaceAroundOperators

Added a description for the Style/SpaceAroundOperators Rubocop.
This commit is contained in:
gotens1211 2017-02-01 20:47:35 +05:30
parent 945b4aac60
commit 4a9c971ec7
11 changed files with 21 additions and 34 deletions

View file

@ -853,7 +853,7 @@ describe Conference do
conference = create(:conference)
event = create(:event, program: conference.program)
event.reject!(@options)
result = { 'Rejected' => { 'value' => 1, 'color' => '#FF0000' } }
result = { 'Rejected' => { 'value' => 1, 'color' => '#FF0000' } }
expect(conference.event_distribution).to eq(result)
end
@ -863,7 +863,7 @@ describe Conference do
event = create(:event, program: conference.program)
event.accept!(@options)
event.confirm!
result = { 'Confirmed' => { 'value' => 1, 'color' => '#00FF00' } }
result = { 'Confirmed' => { 'value' => 1, 'color' => '#00FF00' } }
expect(conference.event_distribution).to eq(result)
end
@ -872,7 +872,7 @@ describe Conference do
event = create(:event, program: conference.program)
event.accept!(@options)
event.cancel!
result = { 'Canceled' => { 'value' => 1, 'color' => '#848484' } }
result = { 'Canceled' => { 'value' => 1, 'color' => '#848484' } }
expect(conference.event_distribution).to eq(result)
end