Check for unneeded directives when all other rules are done

This commit is contained in:
Vitalii Elenhaupt 2018-02-02 22:11:18 +02:00 committed by V. Elenhaupt
parent 6fb483a2dd
commit eda5960b0f
8 changed files with 53 additions and 17 deletions

View file

@ -44,7 +44,7 @@ module Ameba
end
it "creates a todo with run details" do
create_todo.should contain "Run `ameba --only #{DummyRule.class_name}`"
create_todo.should contain "Run `ameba --only #{DummyRule.rule_name}`"
end
it "excludes source from this rule" do