diff options
author | Rémy Coutable <remy@rymai.me> | 2017-05-31 16:43:19 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-02 20:06:50 +0300 |
commit | 857d039145bccaa81da1e7654e51eee9e4b4823a (patch) | |
tree | 5ee5fdc54d98ec7d54fa0f08957dcb7952ff42a4 /spec/factories/wiki_directories.rb | |
parent | 19ee16a0f85dd4bacddbd066237e62a1bbb7113a (diff) |
Lint our factories creation in addition to their build
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/factories/wiki_directories.rb')
-rw-r--r-- | spec/factories/wiki_directories.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/factories/wiki_directories.rb b/spec/factories/wiki_directories.rb index 3f3c864ac2b..3b4cfc380b8 100644 --- a/spec/factories/wiki_directories.rb +++ b/spec/factories/wiki_directories.rb @@ -1,5 +1,7 @@ FactoryGirl.define do factory :wiki_directory do + skip_create + slug '/path_up_to/dir' initialize_with { new(slug) } end |