File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -22,22 +22,12 @@ class RailsFixtureFileWrapper
2222 include ActionDispatch ::TestProcess if defined? ( ActionDispatch ::TestProcess )
2323
2424 class << self
25- attr_reader :fixture_path
25+ attr_accessor :fixture_path
2626
2727 # Get instance of wrapper
2828 def instance
2929 @instance ||= new
3030 end
31-
32- # Override fixture_path set
33- # to support Rails 3.0->3.1 using ActionController::TestCase class to resolve fixture_path
34- # see https://apidock.com/rails/v3.0.0/ActionDispatch/TestProcess/fixture_file_upload
35- def fixture_path = ( value )
36- if ActionController ::TestCase . respond_to? ( :fixture_path )
37- ActionController ::TestCase . fixture_path = value
38- end
39- @fixture_path = value
40- end
4131 end
4232 end
4333 end
You can’t perform that action at this time.
0 commit comments