Configured object_daddy to help generate test data instead of fixtures. #4004

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2930 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis
2009-10-18 22:25:00 +00:00
parent ee9c2d3d88
commit 35333367df
14 changed files with 134 additions and 0 deletions
+6
View File
@@ -27,6 +27,12 @@ class TestingTest < ActiveSupport::TestCase
assert true
end
test "Generating with object_daddy" do
assert_difference "IssueStatus.count" do
IssueStatus.generate!
end
end
should "work with shoulda" do
assert true
end