wiki: rspec
This commit is contained in:
parent
49d58492f2
commit
621bfdb4aa
8 changed files with 40 additions and 260 deletions
|
@ -59,3 +59,8 @@ end
|
|||
Factory.add(:web_hook, WebHook) do |obj|
|
||||
obj.url = Faker::Internet.url
|
||||
end
|
||||
|
||||
Factory.add(:wikis, WebHook) do |obj|
|
||||
obj.title = Faker::Lorem.sentence
|
||||
obj.content = Faker::Lorem.sentence
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue