Skip to content

Instantly share code, notes, and snippets.

@lukaszx0
Created July 17, 2013 15:56
Show Gist options
  • Save lukaszx0/6021902 to your computer and use it in GitHub Desktop.
Save lukaszx0/6021902 to your computer and use it in GitHub Desktop.
~/projects/rails/railties extract_renderers› rake test
/Users/strzalek/.rbenv/versions/1.9.3-p194/bin/ruby -w -Itest:lib:/Users/strzalek/projects/rails/railties/../activesupport/lib:/Users/strzalek/projects/rails/railties/../actionpack/lib:/Users/strzalek/projects/rails/railties/../activemodel/lib test/app_rails_loader_test.rb
Run options: --seed 41815
# Running:
..............
Finished in 0.044610s, 313.8310 runs/s, 403.4970 assertions/s.
14 runs, 18 assertions, 0 failures, 0 errors, 0 skips
/Users/strzalek/.rbenv/versions/1.9.3-p194/bin/ruby -w -Itest:lib:/Users/strzalek/projects/rails/railties/../activesupport/lib:/Users/strzalek/projects/rails/railties/../actionpack/lib:/Users/strzalek/projects/rails/railties/../activemodel/lib test/application/asset_debugging_test.rb
Run options: --seed 29259
# Running:
/Users/strzalek/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/multi_json-1.7.7/lib/multi_json.rb:10: warning: instance variable @cached_options not initialized
FF
Finished in 8.057055s, 0.2482 runs/s, 0.6206 assertions/s.
1) Failure:
ApplicationTests::AssetDebuggingTest#test_assets_are_concatenated_when_debug_is_off_and_compile_is_off_either_if_debug_assets_param_is_provided [test/application/asset_debugging_test.rb:47]:
Expected /<script src="\/assets\/application-([0-z]+)\.js"><\/script>/ to match "<!DOCTYPE html>\n<html>\n<head>\n <title>The page you were looking for doesn't exist (404)</title>\n <style>\n body {\n background-color: #EFEFEF;\n color: #2E2F30;\n text-align: center;\n font-family: arial, sans-serif;\n }\n\n div.dialog {\n width: 25em;\n margin: 4em auto 0 auto;\n border: 1px solid #CCC;\n border-right-color: #999;\n border-left-color: #999;\n border-bottom-color: #BBB;\n border-top: #B00100 solid 4px;\n border-top-left-radius: 9px;\n border-top-right-radius: 9px;\n background-color: white;\n padding: 7px 4em 0 4em;\n }\n\n h1 {\n font-size: 100%;\n color: #730E15;\n line-height: 1.5em;\n }\n\n body > p {\n width: 33em;\n margin: 0 auto 1em;\n padding: 1em 0;\n background-color: #F7F7F7;\n border: 1px solid #CCC;\n border-right-color: #999;\n border-bottom-color: #999;\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n border-top-color: #DADADA;\n color: #666;\n box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);\n }\n </style>\n</head>\n\n<body>\n <!-- This file lives in public/404.html -->\n <div class=\"dialog\">\n <h1>The page you were looking for doesn't exist.</h1>\n <p>You may have mistyped the address or the page may have moved.</p>\n </div>\n <p>If you are the application owner check the logs for more information.</p>\n</body>\n</html>\n".
2) Failure:
ApplicationTests::AssetDebuggingTest#test_assets_aren't_concatenated_when_compile_is_true_is_on_and_debug_assets_params_is_true [test/application/asset_debugging_test.rb:60]:
Expected /<script src="\/assets\/application-([0-z]+)\.js\?body=1"><\/script>/ to match "<!DOCTYPE html>\n<html>\n<head>\n <title>The page you were looking for doesn't exist (404)</title>\n <style>\n body {\n background-color: #EFEFEF;\n color: #2E2F30;\n text-align: center;\n font-family: arial, sans-serif;\n }\n\n div.dialog {\n width: 25em;\n margin: 4em auto 0 auto;\n border: 1px solid #CCC;\n border-right-color: #999;\n border-left-color: #999;\n border-bottom-color: #BBB;\n border-top: #B00100 solid 4px;\n border-top-left-radius: 9px;\n border-top-right-radius: 9px;\n background-color: white;\n padding: 7px 4em 0 4em;\n }\n\n h1 {\n font-size: 100%;\n color: #730E15;\n line-height: 1.5em;\n }\n\n body > p {\n width: 33em;\n margin: 0 auto 1em;\n padding: 1em 0;\n background-color: #F7F7F7;\n border: 1px solid #CCC;\n border-right-color: #999;\n border-bottom-color: #999;\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n border-top-color: #DADADA;\n color: #666;\n box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);\n }\n </style>\n</head>\n\n<body>\n <!-- This file lives in public/404.html -->\n <div class=\"dialog\">\n <h1>The page you were looking for doesn't exist.</h1>\n <p>You may have mistyped the address or the page may have moved.</p>\n </div>\n <p>If you are the application owner check the logs for more information.</p>\n</body>\n</html>\n".
2 runs, 5 assertions, 2 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [/Users/strzalek/.rbenv/versions/1.9.3-p194...]
/Users/strzalek/projects/rails/railties/Rakefile:22:in `block (3 levels) in <top (required)>'
/Users/strzalek/projects/rails/railties/Rakefile:13:in `each'
/Users/strzalek/projects/rails/railties/Rakefile:13:in `block (2 levels) in <top (required)>'
Tasks: TOP => test => test:isolated
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment