Add and appy MultilineOperationIndentation rule
This way it's easier to see when lines are part of multiline statements and when they belong to `if` statements.
This commit is contained in:
@@ -19,8 +19,8 @@ describe Shared::LinkListComponent do
|
||||
)
|
||||
|
||||
expect(page).to be_rendered with: '<ul class="menu">' + "\n" +
|
||||
'<li><a href="/">Home</a></li>' + "\n" +
|
||||
'<li><a href="/info">Info</a></li>' + "\n</ul>\n"
|
||||
'<li><a href="/">Home</a></li>' + "\n" +
|
||||
'<li><a href="/info">Info</a></li>' + "\n</ul>\n"
|
||||
end
|
||||
|
||||
it "accepts anchor tags" do
|
||||
@@ -29,8 +29,8 @@ describe Shared::LinkListComponent do
|
||||
)
|
||||
|
||||
expect(page).to be_rendered with: '<ul class="menu">' + "\n" +
|
||||
'<li><a href="/">Home</a></li>' + "\n" +
|
||||
'<li><a href="/info">Info</a></li>' + "\n</ul>\n"
|
||||
'<li><a href="/">Home</a></li>' + "\n" +
|
||||
'<li><a href="/info">Info</a></li>' + "\n</ul>\n"
|
||||
end
|
||||
|
||||
it "accepts options for links" do
|
||||
|
||||
Reference in New Issue
Block a user