Allow filtering by group name (#65)

This commit is contained in:
V. Elenhaupt 2018-06-18 10:25:06 +03:00 committed by GitHub
parent 4cb5328513
commit fafc5f4bdc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 102 additions and 11 deletions

View file

@ -14,6 +14,12 @@ module Ameba
DummyRule.new.name.should eq "Ameba/DummyRule"
end
end
describe "#group" do
it "returns a group rule belongs to" do
DummyRule.new.group.should eq "Ameba"
end
end
end
describe Rule do