Apply IndentationWidth rubocop rule
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
require "rails_helper"
|
require "rails_helper"
|
||||||
|
|
||||||
RSpec.describe Legislation::Annotation, type: :model do
|
RSpec.describe Legislation::Annotation, type: :model do
|
||||||
let(:draft_version) { create(:legislation_draft_version) }
|
let(:draft_version) { create(:legislation_draft_version) }
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ describe Legislation::DraftVersion do
|
|||||||
end
|
end
|
||||||
|
|
||||||
def body_markdown
|
def body_markdown
|
||||||
<<-BODY_MARKDOWN
|
<<-BODY_MARKDOWN
|
||||||
# Title 1
|
# Title 1
|
||||||
|
|
||||||
Some paragraph.
|
Some paragraph.
|
||||||
@@ -50,7 +50,7 @@ BODY_MARKDOWN
|
|||||||
end
|
end
|
||||||
|
|
||||||
def body_html
|
def body_html
|
||||||
<<-BODY_HTML
|
<<-BODY_HTML
|
||||||
<h1 id="title-1">Title 1</h1>
|
<h1 id="title-1">Title 1</h1>
|
||||||
|
|
||||||
<p>Some paragraph.</p>
|
<p>Some paragraph.</p>
|
||||||
@@ -73,7 +73,7 @@ BODY_HTML
|
|||||||
end
|
end
|
||||||
|
|
||||||
def toc_html
|
def toc_html
|
||||||
<<-TOC_HTML
|
<<-TOC_HTML
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="#title-1">Title 1</a>
|
<a href="#title-1">Title 1</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user