Add and apply Lint/EmptyBlock rubocop rule
It was introduced in Rubocop 1.1.0.
This commit is contained in:
@@ -163,6 +163,9 @@ Lint/ConstantDefinitionInBlock:
|
||||
Lint/DuplicateMethods:
|
||||
Enabled: true
|
||||
|
||||
Lint/EmptyBlock:
|
||||
Enabled: true
|
||||
|
||||
Lint/EmptyFile:
|
||||
Enabled: true
|
||||
|
||||
|
||||
@@ -91,8 +91,7 @@ FactoryBot.define do
|
||||
end
|
||||
end
|
||||
|
||||
factory :widget_feed, class: "Widget::Feed" do
|
||||
end
|
||||
factory :widget_feed, class: "Widget::Feed"
|
||||
|
||||
factory :i18n_content, class: "I18nContent" do
|
||||
key { "debates.index.section_footer.description" }
|
||||
|
||||
@@ -214,6 +214,5 @@ FactoryBot.define do
|
||||
end
|
||||
end
|
||||
|
||||
factory :active_poll do
|
||||
end
|
||||
factory :active_poll
|
||||
end
|
||||
|
||||
@@ -36,8 +36,7 @@ describe Poll do
|
||||
expect(poll).not_to be_valid
|
||||
end
|
||||
|
||||
it "no overlapping polls for proposal polls are allowed" do
|
||||
end
|
||||
pending "no overlapping polls for proposal polls are allowed"
|
||||
end
|
||||
|
||||
describe "proposal polls specific validations" do
|
||||
|
||||
@@ -316,8 +316,7 @@ describe "Emails" do
|
||||
expect { open_last_email }.to raise_error "No email has been sent!"
|
||||
end
|
||||
|
||||
xscenario "Delete all Notifications included in the digest after email sent" do
|
||||
end
|
||||
xscenario "Delete all Notifications included in the digest after email sent"
|
||||
end
|
||||
|
||||
context "User invites" do
|
||||
|
||||
Reference in New Issue
Block a user