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
|
||||
|
||||
private
|
||||
|
||||
def tags
|
||||
@tags ||= Tag.category.page(params[:page])
|
||||
end
|
||||
|
||||
@@ -289,7 +289,7 @@ describe Abilities::Common do
|
||||
|
||||
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(:create, DirectMessage) }
|
||||
|
||||
@@ -254,7 +254,7 @@ describe "Legislation" do
|
||||
expect(page).to have_content("Homepage")
|
||||
end
|
||||
|
||||
expect(page).to have_content("This is the process homepage")
|
||||
expect(page).to have_content("This is the process homepage")
|
||||
end
|
||||
|
||||
scenario "disabled", :with_frozen_time do
|
||||
@@ -280,7 +280,7 @@ describe "Legislation" do
|
||||
|
||||
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
|
||||
|
||||
scenario "open without questions" do
|
||||
|
||||
Reference in New Issue
Block a user