* Updated gemfile
* Added forum post/topic unit tests * Added forum post/topic controller tests
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
Factory.define(:forum_post) do |f|
|
||||
f.creator {|x| x.association(:user)}
|
||||
f.body {Faker::Lorem.sentences}
|
||||
end
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Factory.define(:forum_topic) do |f|
|
||||
f.creator {|x| x.association(:user)}
|
||||
f.title {Faker::Lorem.words}
|
||||
f.is_sticky false
|
||||
f.is_locked false
|
||||
|
||||
Reference in New Issue
Block a user