We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b7a937 commit bfc34b1Copy full SHA for bfc34b1
test/support/active_support/test_case.rb
@@ -1,5 +1,10 @@
1
class ActiveSupport::TestCase
2
- self.fixture_paths = [File.expand_path("../../../fixtures", __FILE__)]
+ # Support for older versions of Rails
3
+ if respond_to?(:fixture_path=)
4
+ self.fixture_path = [File.expand_path("../../../fixtures", __FILE__)]
5
+ else
6
+ self.fixture_paths = [File.expand_path("../../../fixtures", __FILE__)]
7
+ end
8
9
set_fixture_class accounts: Masq::Account
10
set_fixture_class personas: Masq::Persona
0 commit comments