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:
parent
7725cd59b4
commit
162f04d789
4 changed files with 24 additions and 16 deletions
5
test/factories/acls.rb
Normal file
5
test/factories/acls.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
FactoryGirl.define do
|
||||
factory :acl do
|
||||
sequence(:k) { |n| "Key #{n}" }
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue