mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Dynamically load rule documentation
This commit is contained in:
parent
f8dab3bc34
commit
20938da89a
3 changed files with 57 additions and 0 deletions
|
@ -67,5 +67,11 @@ module Ameba::Rule
|
|||
rule.excluded?(Source.new "", "source.cr").should be_false
|
||||
end
|
||||
end
|
||||
|
||||
describe ".parsed_doc" do
|
||||
it "returns the parsed rule doc" do
|
||||
DummyRule.parsed_doc.should eq "Dummy Rule which does nothing."
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue