Fix all Layout/SpaceAfterComma issues and remove from rubocop_todo list
This commit is contained in:
@@ -48,7 +48,7 @@ describe "Abilities::Moderator" do
|
||||
describe "hiding, reviewing and restoring" do
|
||||
let(:ignored_comment) { create(:comment, :with_ignored_flag) }
|
||||
let(:ignored_debate) { create(:debate, :with_ignored_flag) }
|
||||
let(:ignored_proposal) { create(:proposal,:with_ignored_flag) }
|
||||
let(:ignored_proposal) { create(:proposal, :with_ignored_flag) }
|
||||
|
||||
it { should be_able_to(:hide, comment) }
|
||||
it { should be_able_to(:hide_in_moderation_screen, comment) }
|
||||
|
||||
@@ -249,7 +249,7 @@ describe Budget::Investment do
|
||||
by_valuator = Budget::Investment.by_valuator(valuator1.id)
|
||||
|
||||
expect(by_valuator.size).to eq(2)
|
||||
expect(by_valuator.sort).to eq([investment1,investment3].sort)
|
||||
expect(by_valuator.sort).to eq([investment1, investment3].sort)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ describe Verification::Management::Email do
|
||||
|
||||
allow(validation).to receive(:user).and_return user
|
||||
expect(mail).to receive(:deliver_later)
|
||||
expect(Devise.token_generator).to receive(:generate).with(User, :email_verification_token).and_return(["1","2"])
|
||||
expect(Devise.token_generator).to receive(:generate).with(User, :email_verification_token).and_return(["1", "2"])
|
||||
expect(Mailer).to receive(:email_verification).with(user, user.email, "2", "1", "1234").and_return(mail)
|
||||
|
||||
validation.save
|
||||
|
||||
Reference in New Issue
Block a user