Merge pull request #4858 from consul/spacing_fixes
Fix Rubocop convention offenses
This commit is contained in:
@@ -26,6 +26,7 @@ class Admin::TagsController < Admin::BaseController
|
|||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def tags
|
def tags
|
||||||
@tags ||= Tag.category.page(params[:page])
|
@tags ||= Tag.category.page(params[:page])
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ describe Abilities::Common do
|
|||||||
|
|
||||||
before { user.update(verified_at: Time.current) }
|
before { user.update(verified_at: Time.current) }
|
||||||
|
|
||||||
it { should be_able_to(:vote, Proposal) }
|
it { should be_able_to(:vote, Proposal) }
|
||||||
|
|
||||||
it { should be_able_to(:new, DirectMessage) }
|
it { should be_able_to(:new, DirectMessage) }
|
||||||
it { should be_able_to(:create, DirectMessage) }
|
it { should be_able_to(:create, DirectMessage) }
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ describe "Legislation" do
|
|||||||
expect(page).to have_content("Homepage")
|
expect(page).to have_content("Homepage")
|
||||||
end
|
end
|
||||||
|
|
||||||
expect(page).to have_content("This is the process homepage")
|
expect(page).to have_content("This is the process homepage")
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario "disabled", :with_frozen_time do
|
scenario "disabled", :with_frozen_time do
|
||||||
@@ -280,7 +280,7 @@ describe "Legislation" do
|
|||||||
|
|
||||||
visit legislation_process_path(process)
|
visit legislation_process_path(process)
|
||||||
|
|
||||||
expect(page).to have_content("This phase is not open yet")
|
expect(page).to have_content("This phase is not open yet")
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario "open without questions" do
|
scenario "open without questions" do
|
||||||
|
|||||||
Reference in New Issue
Block a user