Prechádzať zdrojové kódy

Define file_fixture_path

Akinori MUSHA 2 rokov pred
rodič
commit
30350fd727
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      spec/rails_helper.rb

+ 1 - 1
spec/rails_helper.rb

@@ -32,7 +32,7 @@ RSpec.configure do |config|
   config.mock_with :rspec
 
   # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
-  config.fixture_path = "#{::Rails.root}/spec/fixtures"
+  config.fixture_path = config.file_fixture_path = "#{::Rails.root}/spec/fixtures"
 
   # If you're not using ActiveRecord, or you'd prefer not to run each of your
   # examples within a transaction, remove the following line or assign false