Skip to content

Commit

Permalink
Check for existence of exactly the called fixture_path= method
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Mar 13, 2012
1 parent 52bfb48 commit 919db1b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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

@parndt
Copy link
Contributor

@parndt parndt commented on 919db1b Mar 13, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.