diff --git a/spec/active_storage/rails_app_spec.rb b/spec/active_storage/rails_app_spec.rb index 26db2f2a..f5b77863 100644 --- a/spec/active_storage/rails_app_spec.rb +++ b/spec/active_storage/rails_app_spec.rb @@ -1,3 +1,4 @@ +require 'bundler/setup' require 'spec_helper' def skip_reason @@ -10,14 +11,14 @@ def skip_reason end end -# TODO: Investigate and fix this test -describe 'Rails app with ActiveStorage and format-parser', skip: skip_reason do +describe 'Rails app with ActiveStorage and format-parser' do describe 'local hosting with ActiveStorage disk adapter' do it 'parse local file with format_parser' do clean_env do cmd = 'ruby spec/integration/active_storage/rails_app.rb' cmd_status = ruby_script_runner(cmd) - expect(cmd_status[:stdout].last).to match(/1 runs, 3 assertions, 0 failures, 0 errors, 0 skips/) + printout = cmd_status[:stdout].last + expect(printout).to match(/1 runs, 3 assertions, 0 failures, 0 errors, 0 skips/) expect(cmd_status[:exitstatus]).to eq(0) end end