diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2009-10-18 22:25:00 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2009-10-18 22:25:00 +0000 |
commit | 35333367dff6a3415bfc00904ac88d42024217f6 (patch) | |
tree | 1af169d09b9737df103a89d42ac292c0dea5bb10 /test/unit/testing_test.rb | |
parent | ee9c2d3d880ecbb1437dfe62c76ca46dd6cba429 (diff) | |
download | redmine-35333367dff6a3415bfc00904ac88d42024217f6.tar.gz redmine-35333367dff6a3415bfc00904ac88d42024217f6.zip |
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
Diffstat (limited to 'test/unit/testing_test.rb')
-rw-r--r-- | test/unit/testing_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/testing_test.rb b/test/unit/testing_test.rb index 82eb9ed56..7c78288e5 100644 --- a/test/unit/testing_test.rb +++ b/test/unit/testing_test.rb @@ -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 |