Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Check for existence of exactly the called `fixture_path=` method

  • Loading branch information...
commit 919db1bbbb9c2565c2dc1816812b7031f74b4e8e 1 parent 52bfb48
@drogus drogus authored
View
4 railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb
@@ -10,6 +10,6 @@
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
# Load fixtures from the engine
-if ActiveSupport::TestCase.method_defined?(:fixture_path)
+if ActiveSupport::TestCase.method_defined?(:fixture_path=)
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
-end
+end

1 comment on commit 919db1b

Please sign in to comment.
Something went wrong with that request. Please try again.