Convert ACL fixture to a factory, and add some tests

The fixture was unused, so I took the opportunity to put in a couple
of basic model tests.
This commit is contained in:
Andy Allan 2016-10-26 09:15:56 +01:00
parent 7725cd59b4
commit 162f04d789
4 changed files with 24 additions and 16 deletions

5
test/factories/acls.rb Normal file
View file

@ -0,0 +1,5 @@
FactoryGirl.define do
factory :acl do
sequence(:k) { |n| "Key #{n}" }
end
end