* Updated gemfile

* Added forum post/topic unit tests
* Added forum post/topic controller tests
This commit is contained in:
albert
2011-01-12 18:00:07 -05:00
parent 46164eab4f
commit 668fbab77a
18 changed files with 342 additions and 105 deletions

View File

@@ -1,4 +1,3 @@
Factory.define(:forum_post) do |f|
f.creator {|x| x.association(:user)}
f.body {Faker::Lorem.sentences}
end

View File

@@ -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