Mercurial > hg > soundsoftware-site
diff lib/generators/redmine_plugin_model/templates/unit_test.rb.erb @ 1115:433d4f72a19b redmine-2.2
Update to Redmine SVN revision 11137 on 2.2-stable branch
author | Chris Cannam |
---|---|
date | Mon, 07 Jan 2013 12:01:42 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line diff
--- a/lib/generators/redmine_plugin_model/templates/unit_test.rb.erb Wed Jun 27 14:54:18 2012 +0100 +++ b/lib/generators/redmine_plugin_model/templates/unit_test.rb.erb Mon Jan 07 12:01:42 2013 +0000 @@ -1,7 +1,6 @@ -require File.dirname(__FILE__) + '/../test_helper' +require File.expand_path('../../test_helper', __FILE__) -class <%= class_name %>Test < ActiveSupport::TestCase - fixtures :<%= table_name %> +class <%= @model_class %>Test < ActiveSupport::TestCase # Replace this with your real tests. def test_truth