فهرست منبع

Define file_fixture_path

Akinori MUSHA 2 سال پیش
والد
کامیت
30350fd727
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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
   config.mock_with :rspec
 
 
   # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
   # 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
   # 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
   # examples within a transaction, remove the following line or assign false