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
22
22
include ActionDispatch ::TestProcess if defined? ( ActionDispatch ::TestProcess )
23
23
24
24
class << self
25
- attr_reader :fixture_path
25
+ attr_accessor :fixture_path
26
26
27
27
# Get instance of wrapper
28
28
def instance
29
29
@instance ||= new
30
30
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
41
31
end
42
32
end
43
33
end
You can’t perform that action at this time.
0 commit comments