File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ def spring_env
34
34
35
35
def assert_output ( artifacts , expected )
36
36
expected . each do |stream , output |
37
- assert artifacts [ stream ] . include? ( output ) ,
38
- "expected #{ stream } to include ' #{ output } ' .\n \n #{ app . debug ( artifacts ) } "
37
+ assert_match output , artifacts [ stream ] ,
38
+ "expected #{ stream } to include #{ output . inspect } .\n \n #{ app . debug ( artifacts ) } "
39
39
end
40
40
end
41
41
@@ -230,7 +230,7 @@ def exec_name
230
230
end
231
231
232
232
test "binstub" do
233
- assert_success "bin/rails server --help" , stdout : " Usage: rails server" # rails command fallback
233
+ assert_success "bin/rails server --help" , stdout : / Usage:\s + rails server/ # rails command fallback
234
234
235
235
assert_success "#{ app . spring } binstub rake" , stdout : "bin/rake: spring already present"
236
236
You can’t perform that action at this time.
0 commit comments