Created
June 4, 2012 10:35
-
-
Save Vanuan/2867670 to your computer and use it in GitHub Desktop.
railties tests failing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.....[[:options, []], [:puke, [ApplicationTests::AssetsTest, "test_assets_are_concatenated_when_debug_is_off_and_compile_is_off_either_if_debug_assets_param_is_provided", #<MiniTest::Assertion: Expected /<script src="\/assets\/application-([0-z]+)\.js" type="text\/javascript"><\/script>/ to match "<!DOCTYPE html>\n<html>\n<head>\n <title>We're sorry, but something went wrong (500)</title>\n <style type=\"text/css\">\n body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }\n div.dialog {\n width: 25em;\n padding: 0 4em;\n margin: 4em auto 0 auto;\n border: 1px solid #ccc;\n border-right-color: #999;\n border-bottom-color: #999;\n }\n h1 { font-size: 100%; color: #f00; line-height: 1.5em; }\n </style>\n</head>\n\n<body>\n <!-- This file lives in public/500.html -->\n <div class=\"dialog\">\n <h1>We're sorry, but something went wrong.</h1>\n </div>\n</body>\n</html>\n".>]]][[:options, []], [:puke, [ApplicationTests::AssetsTest, "test_assets_aren't_concatened_when_compile_is_true_is_on_and_debug_assets_params_is_true", #<MiniTest::Assertion: Expected /<script src="\/assets\/application-([0-z]+)\.js\?body=1" type="text\/javascript"><\/script>/ to match "<!DOCTYPE html>\n<html>\n<head>\n <title>We're sorry, but something went wrong (500)</title>\n <style type=\"text/css\">\n body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }\n div.dialog {\n width: 25em;\n padding: 0 4em;\n margin: 4em auto 0 auto;\n border: 1px solid #ccc;\n border-right-color: #999;\n border-bottom-color: #999;\n }\n h1 { font-size: 100%; color: #f00; line-height: 1.5em; }\n </style>\n</head>\n\n<body>\n <!-- This file lives in public/500.html -->\n <div class=\"dialog\">\n <h1>We're sorry, but something went wrong.</h1>\n </div>\n</body>\n</html>\n".>]]]..[[:options, []], [:puke, [ApplicationTests::AssetsTest, "test_assets_do_not_require_any_assets_group_gem_when_manifest_file_is_present", #<Errno::ENOENT: No such file or directory - /home/user/projects/rails/railties/tmp/app/public/assets/manifest.yml>]]][[:options, []], [:puke, [ApplicationTests::AssetsTest, "test_assets_do_not_require_compressors_until_it_is_used", #<MiniTest::Assertion: Expected /alert\(\)/ to match "throw Error(\"ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.\\n (in /home/user/projects/rails/railties/tmp/app/app/assets/javascripts/demo.js.erb)\")".>]]].........[[:options, []], [:puke, [ApplicationTests::AssetsTest, "test_html_assets_are_compiled_when_executing_precompile", #<MiniTest::Assertion: Failed assertion, no message given.>]]].[[:options, []], [:puke, [ApplicationTests::AssetsTest, "test_precompile_appends_the_md5_hash_to_files_referenced_with_asset_path_and_run_in_production_as_default_even_using_RAILS_GROUPS=assets", #<TypeError: can't convert nil into String>]]]...[[:options, []], [:puke, [ApplicationTests::AssetsTest, "test_precompile_creates_the_file,_gives_it_the_original_asset's_content_and_run_in_production_as_default", #<MiniTest::Assertion: Expected application.js asset to be generated, but none found. | |
<nil> expected to not be nil.>]]]...[[:options, []], [:puke, [ApplicationTests::AssetsTest, "test_precompile_shouldn't_use_the_digests_present_in_manifest.yml", #<Errno::ENOENT: No such file or directory - /home/user/projects/rails/railties/tmp/app/public/assets/manifest.yml>]]].. | |
Finished tests in 73.918108s, 0.4464 tests/s, 0.0000 assertions/s. | |
1) Failure: | |
test_assets_are_concatenated_when_debug_is_off_and_compile_is_off_either_if_debug_assets_param_is_provided(ApplicationTests::AssetsTest) [test/application/assets_test.rb:394]: | |
Expected /<script src="\/assets\/application-([0-z]+)\.js" type="text\/javascript"><\/script>/ to match "<!DOCTYPE html>\n<html>\n<head>\n <title>We're sorry, but something went wrong (500)</title>\n <style type=\"text/css\">\n body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }\n div.dialog {\n width: 25em;\n padding: 0 4em;\n margin: 4em auto 0 auto;\n border: 1px solid #ccc;\n border-right-color: #999;\n border-bottom-color: #999;\n }\n h1 { font-size: 100%; color: #f00; line-height: 1.5em; }\n </style>\n</head>\n\n<body>\n <!-- This file lives in public/500.html -->\n <div class=\"dialog\">\n <h1>We're sorry, but something went wrong.</h1>\n </div>\n</body>\n</html>\n". | |
2) Failure: | |
test_assets_aren't_concatened_when_compile_is_true_is_on_and_debug_assets_params_is_true(ApplicationTests::AssetsTest) [test/application/assets_test.rb:409]: | |
Expected /<script src="\/assets\/application-([0-z]+)\.js\?body=1" type="text\/javascript"><\/script>/ to match "<!DOCTYPE html>\n<html>\n<head>\n <title>We're sorry, but something went wrong (500)</title>\n <style type=\"text/css\">\n body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }\n div.dialog {\n width: 25em;\n padding: 0 4em;\n margin: 4em auto 0 auto;\n border: 1px solid #ccc;\n border-right-color: #999;\n border-bottom-color: #999;\n }\n h1 { font-size: 100%; color: #f00; line-height: 1.5em; }\n </style>\n</head>\n\n<body>\n <!-- This file lives in public/500.html -->\n <div class=\"dialog\">\n <h1>We're sorry, but something went wrong.</h1>\n </div>\n</body>\n</html>\n". | |
3) Error: | |
test_assets_do_not_require_any_assets_group_gem_when_manifest_file_is_present(ApplicationTests::AssetsTest): | |
Errno::ENOENT: No such file or directory - /home/user/projects/rails/railties/tmp/app/public/assets/manifest.yml | |
test/application/assets_test.rb:199:in `block in <class:AssetsTest>' | |
/home/user/projects/rails/activesupport/lib/active_support/testing/isolation.rb:84:in `block in run' | |
/home/user/projects/rails/activesupport/lib/active_support/testing/isolation.rb:100:in `block in run_in_isolation' | |
/home/user/projects/rails/activesupport/lib/active_support/testing/isolation.rb:97:in `fork' | |
/home/user/projects/rails/activesupport/lib/active_support/testing/isolation.rb:97:in `run_in_isolation' | |
/home/user/projects/rails/activesupport/lib/active_support/testing/isolation.rb:83:in `run' | |
4) Failure: | |
test_assets_do_not_require_compressors_until_it_is_used(ApplicationTests::AssetsTest) [test/application/assets_test.rb:50]: | |
Expected /alert\(\)/ to match "throw Error(\"ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.\\n (in /home/user/projects/rails/railties/tmp/app/app/assets/javascripts/demo.js.erb)\")". | |
5) Failure: | |
test_html_assets_are_compiled_when_executing_precompile(ApplicationTests::AssetsTest) [test/application/assets_test.rb:513]: | |
Failed assertion, no message given. | |
6) Error: | |
test_precompile_appends_the_md5_hash_to_files_referenced_with_asset_path_and_run_in_production_as_default_even_using_RAILS_GROUPS=assets(ApplicationTests::AssetsTest): | |
TypeError: can't convert nil into String | |
test/application/assets_test.rb:301:in `read' | |
test/application/assets_test.rb:301:in `block in <class:AssetsTest>' | |
7) Failure: | |
test_precompile_creates_the_file,_gives_it_the_original_asset's_content_and_run_in_production_as_default(ApplicationTests::AssetsTest) [test/application/assets_test.rb:66]: | |
Expected application.js asset to be generated, but none found. | |
<nil> expected to not be nil. | |
8) Error: | |
test_precompile_shouldn't_use_the_digests_present_in_manifest.yml(ApplicationTests::AssetsTest): | |
Errno::ENOENT: No such file or directory - /home/user/projects/rails/railties/tmp/app/public/assets/manifest.yml | |
test/application/assets_test.rb:281:in `block in <class:AssetsTest>' | |
/home/user/projects/rails/activesupport/lib/active_support/testing/isolation.rb:84:in `block in run' | |
/home/user/projects/rails/activesupport/lib/active_support/testing/isolation.rb:100:in `block in run_in_isolation' | |
/home/user/projects/rails/activesupport/lib/active_support/testing/isolation.rb:97:in `fork' | |
/home/user/projects/rails/activesupport/lib/active_support/testing/isolation.rb:97:in `run_in_isolation' | |
/home/user/projects/rails/activesupport/lib/active_support/testing/isolation.rb:83:in `run' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment