File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
activesupport/test/testing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class FileFixturesTest < ActiveSupport::TestCase
6
6
test "#file_fixture returns Pathname to file fixture" do
7
7
path = file_fixture ( "sample.txt" )
8
8
assert_kind_of Pathname , path
9
- assert_match %r{activesupport /test/file_fixtures/sample.txt$} , path . to_s
9
+ assert_match %r{.* /test/file_fixtures/sample.txt$} , path . to_s
10
10
end
11
11
12
12
test "raises an exception when the fixture file does not exist" do
@@ -23,6 +23,6 @@ class FileFixturesPathnameDirectoryTest < ActiveSupport::TestCase
23
23
test "#file_fixture_path returns Pathname to file fixture" do
24
24
path = file_fixture ( "sample.txt" )
25
25
assert_kind_of Pathname , path
26
- assert_match %r{activesupport /test/file_fixtures/sample.txt$} , path . to_s
26
+ assert_match %r{.* /test/file_fixtures/sample.txt$} , path . to_s
27
27
end
28
28
end
You can’t perform that action at this time.
0 commit comments