Apply Layout/SpaceAroundMethodCallOperator rule
This rule was added in rubocop 0.82.
This commit is contained in:
@@ -104,6 +104,9 @@ Layout/SpaceAroundBlockParameters:
|
|||||||
Layout/SpaceAroundEqualsInParameterDefault:
|
Layout/SpaceAroundEqualsInParameterDefault:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
Layout/SpaceAroundMethodCallOperator:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
Layout/SpaceAroundOperators:
|
Layout/SpaceAroundOperators:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ describe "Admin polls" do
|
|||||||
expect(page).not_to have_content("Do you support CONSUL?")
|
expect(page).not_to have_content("Do you support CONSUL?")
|
||||||
|
|
||||||
expect(Poll::Question.count).to eq(0)
|
expect(Poll::Question.count).to eq(0)
|
||||||
expect(Poll::Question::Answer.count). to eq(0)
|
expect(Poll::Question::Answer.count).to eq(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario "Can't destroy poll with votes", :js do
|
scenario "Can't destroy poll with votes", :js do
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ describe "Admin edit translatable records" do
|
|||||||
|
|
||||||
select "Français", from: :select_language
|
select "Français", from: :select_language
|
||||||
|
|
||||||
expect(page). to have_ckeditor "Description", with: ""
|
expect(page).to have_ckeditor "Description", with: ""
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user