diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-12-09 01:58:58 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-12-09 01:59:54 +0100 |
commit | 2dc3342f75577fa521d9d0c54260da75450126a2 (patch) | |
tree | 08a4af7fefb575602b2cded92536c0217d00f4e7 /railties/lib | |
parent | 23ba7e456dd0302aeaddb50d14e1f595c82ca6c8 (diff) | |
download | rails-2dc3342f75577fa521d9d0c54260da75450126a2.tar.gz rails-2dc3342f75577fa521d9d0c54260da75450126a2.tar.bz2 rails-2dc3342f75577fa521d9d0c54260da75450126a2.zip |
Do not require fixtures in example integration test in engine if active record is skipeed
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb b/railties/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb index d06fe7cbd0..dd4d2da4eb 100644 --- a/railties/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb +++ b/railties/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb @@ -1,7 +1,9 @@ require 'test_helper' class NavigationTest < ActionDispatch::IntegrationTest +<% unless options[:skip_active_record] -%> fixtures :all +<% end -%> # Replace this with your real tests. test "the truth" do |