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
3434
3535 def assert_output ( artifacts , expected )
3636 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 ) } "
3939 end
4040 end
4141
@@ -230,7 +230,7 @@ def exec_name
230230 end
231231
232232 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
234234
235235 assert_success "#{ app . spring } binstub rake" , stdout : "bin/rake: spring already present"
236236
You can’t perform that action at this time.
0 commit comments