Created
February 14, 2009 18:35
-
-
Save sstephenson/64431 to your computer and use it in GitHub Desktop.
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
H:\Projects\sprockets>rake | |
C:/ruby/bin/ruby -Ilib;test "C:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" "test/test_concatenation.rb" "test/test_environment.rb" "test/test_helper.rb" "test/test_pathname.rb" "test/test_preprocessor.rb" "test/test_secretary.rb" "test/test_source_file.rb" "test/test_source_line.rb" | |
(in H:/Projects/sprockets) | |
Loaded suite C:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader | |
Started | |
.E.F.EFFFFF..........E.E.EEEFFE......F............ | |
Finished in 2.922 seconds. | |
1) Error: | |
test_save_to(ConcatenationTest): | |
Errno::EACCES: Permission denied - H:/Projects/sprockets/test/fixtures/output.js | |
./test/../lib/sprockets/concatenation.rb:26:in `initialize' | |
./test/../lib/sprockets/concatenation.rb:26:in `open' | |
./test/../lib/sprockets/concatenation.rb:26:in `save_to' | |
./test/test_concatenation.rb:24:in `test_save_to' | |
2) Failure: | |
test_constants_should_return_a_hash_of_all_constants_defined_in_the_load_path(EnvironmentTest) [./test/test_environment.rb:57]: | |
<["HELLO", "ONE", "TWO", "VERSION"]> expected but was | |
<["VERSION"]>. | |
3) Error: | |
test_find_should_return_the_first_matching_pathname_in_the_load_path(EnvironmentTest): | |
NoMethodError: undefined method `absolute_location' for nil:NilClass | |
./test/test_helper.rb:31:in `assert_absolute_location_ends_with' | |
./test/test_environment.rb:41:in `test_find_should_return_the_first_matching_pathname_in_the_load_path' | |
4) Failure: | |
test_load_path_locations_become_pathnames_for_absolute_locations_from_the_root(EnvironmentTest) | |
[./test/test_environment.rb:62:in `assert_load_path_equals' | |
./test/test_environment.rb:6:in `test_load_path_locations_become_pathnames_for_absolute_locations_from_the_root']: | |
<false> is not true. | |
5) Failure: | |
test_pathname_from_for_location_with_leading_slash_should_return_a_pathname_with_the_location_unchanged(EnvironmentTest) | |
[./test/test_helper.rb:27:in `assert_absolute_location' | |
./test/test_environment.rb:11:in `test_pathname_from_for_location_with_leading_slash_should_return_a_pathname_with_the_location_unchanged']: | |
<"/a"> expected but was | |
<"H:/a">. | |
6) Failure: | |
test_pathname_from_for_relative_location_should_return_a_pathname_for_the_expanded_absolute_location_from_root(EnvironmentTest) | |
[./test/test_helper.rb:27:in `assert_absolute_location' | |
./test/test_environment.rb:16:in `test_pathname_from_for_relative_location_should_return_a_pathname_for_the_expanded_absolute_location_from_root']: | |
<"/root/a"> expected but was | |
<"H:/root/a">. | |
7) Failure: | |
test_register_load_location_should_remove_already_existing_locations_before_unshifting(EnvironmentTest) | |
[./test/test_environment.rb:62:in `assert_load_path_equals' | |
./test/test_environment.rb:33:in `test_register_load_location_should_remove_already_existing_locations_before_unshifting']: | |
<false> is not true. | |
8) Failure: | |
test_register_load_location_should_unshift_the_location_onto_the_load_path(EnvironmentTest) | |
[./test/test_environment.rb:62:in `assert_load_path_equals' | |
./test/test_environment.rb:24:in `test_register_load_location_should_unshift_the_location_onto_the_load_path']: | |
<false> is not true. | |
9) Error: | |
test_requiring_a_file_after_it_has_already_been_required_should_do_nothing(PreprocessorTest): | |
Sprockets::LoadError: can't find file for require `foo.js' (line 2 of H:/Projects/sprockets/test/fixtures/requiring_a_file_after_it_has_already_been_required_should_do_nothing.js) | |
./test/../lib/sprockets/preprocessor.rb:88:in `raise_load_error_for' | |
./test/../lib/sprockets/preprocessor.rb:56:in `pathname_from' | |
./test/../lib/sprockets/preprocessor.rb:37:in `require_from_source_line' | |
./test/../lib/sprockets/preprocessor.rb:19:in `require' | |
./test/../lib/sprockets/source_file.rb:37:in `each' | |
./test/../lib/sprockets/source_file.rb:37:in `each_source_line' | |
./test/../lib/sprockets/preprocessor.rb:17:in `require' | |
./test/test_preprocessor.rb:82:in `require_file' | |
./test/test_preprocessor.rb:86:in `require_file_for_this_test' | |
./test/test_preprocessor.rb:57:in `test_requiring_a_file_after_it_has_already_been_required_should_do_nothing' | |
10) Error: | |
test_requiring_a_single_file_should_replace_the_require_comment_with_the_file_contents(PreprocessorTest): | |
Sprockets::LoadError: can't find file for require `foo.js' (line 2 of H:/Projects/sprockets/test/fixtures/requiring_a_single_file_should_replace_the_require_comment_with_the_file_contents.js) | |
./test/../lib/sprockets/preprocessor.rb:88:in `raise_load_error_for' | |
./test/../lib/sprockets/preprocessor.rb:56:in `pathname_from' | |
./test/../lib/sprockets/preprocessor.rb:37:in `require_from_source_line' | |
./test/../lib/sprockets/preprocessor.rb:19:in `require' | |
./test/../lib/sprockets/source_file.rb:37:in `each' | |
./test/../lib/sprockets/source_file.rb:37:in `each_source_line' | |
./test/../lib/sprockets/preprocessor.rb:17:in `require' | |
./test/test_preprocessor.rb:82:in `require_file' | |
./test/test_preprocessor.rb:86:in `require_file_for_this_test' | |
./test/test_preprocessor.rb:37:in `test_requiring_a_single_file_should_replace_the_require_comment_with_the_file_contents' | |
11) Error: | |
test_install_assets_into_empty_directory(SecretaryTest): | |
Sprockets::LoadError: no such file `H:/Projects/sprockets/test/fixtures/src/script_with_assets.js' | |
./test/../lib/sprockets/secretary.rb:44:in `add_source_files' | |
./test/../lib/sprockets/secretary.rb:40:in `each' | |
./test/../lib/sprockets/secretary.rb:40:in `add_source_files' | |
./test/test_secretary.rb:38:in `test_install_assets_into_empty_directory' | |
./test/test_helper.rb:50:in `with_temporary_directory' | |
./test/test_secretary.rb:36:in `test_install_assets_into_empty_directory' | |
12) Error: | |
test_install_assets_into_nonexistent_directory(SecretaryTest): | |
Sprockets::LoadError: no such file `H:/Projects/sprockets/test/fixtures/src/script_with_assets.js' | |
./test/../lib/sprockets/secretary.rb:44:in `add_source_files' | |
./test/../lib/sprockets/secretary.rb:40:in `each' | |
./test/../lib/sprockets/secretary.rb:40:in `add_source_files' | |
./test/test_secretary.rb:53:in `test_install_assets_into_nonexistent_directory' | |
./test/test_helper.rb:50:in `with_temporary_directory' | |
./test/test_secretary.rb:50:in `test_install_assets_into_nonexistent_directory' | |
13) Error: | |
test_install_assets_into_subdirectories_that_already_exist(SecretaryTest): | |
Sprockets::LoadError: no such file `H:/Projects/sprockets/test/fixtures/src/script_with_assets.js' | |
./test/../lib/sprockets/secretary.rb:44:in `add_source_files' | |
./test/../lib/sprockets/secretary.rb:40:in `each' | |
./test/../lib/sprockets/secretary.rb:40:in `add_source_files' | |
./test/test_secretary.rb:67:in `test_install_assets_into_subdirectories_that_already_exist' | |
./test/test_helper.rb:50:in `with_temporary_directory' | |
./test/test_secretary.rb:65:in `test_install_assets_into_subdirectories_that_already_exist' | |
14) Failure: | |
test_load_locations_are_expanded_when_expand_paths_is_true(SecretaryTest) [./test/test_secretary.rb:16]: | |
<["H:/Projects/sprockets/test/fixtures/src/foo", | |
"H:/Projects/sprockets/test/fixtures/src", | |
"H:/Projects/sprockets/test/fixtures"]> expected but was | |
<["H:/Projects/sprockets/test/fixtures/H:/Projects/sprockets/test/fixtures/src/foo", | |
"H:/Projects/sprockets/test/fixtures/H:/Projects/sprockets/test/fixtures/src", | |
"H:/Projects/sprockets/test/fixtures"]>. | |
15) Failure: | |
test_load_locations_are_not_expanded_when_expand_paths_is_false(SecretaryTest) [./test/test_secretary.rb:8]: | |
<["H:/Projects/sprockets/test/fixtures/src/**", | |
"H:/Projects/sprockets/test/fixtures"]> expected but was | |
<["H:/Projects/sprockets/test/fixtures/H:/Projects/sprockets/test/fixtures/src/**", | |
"H:/Projects/sprockets/test/fixtures"]>. | |
16) Error: | |
test_source_files_are_expanded_when_expand_paths_is_true(SecretaryTest): | |
Sprockets::LoadError: no such file `H:/Projects/sprockets/test/fixtures/src/foo.js' | |
./test/../lib/sprockets/secretary.rb:44:in `add_source_files' | |
./test/../lib/sprockets/secretary.rb:40:in `each' | |
./test/../lib/sprockets/secretary.rb:40:in `add_source_files' | |
./test/test_secretary.rb:29:in `test_source_files_are_expanded_when_expand_paths_is_true' | |
17) Failure: | |
test_inspect_should_include_source_file_location_and_line_number(SourceLineTest) [./test/test_source_line.rb:73]: | |
<"line 25 of /a/b/c.js"> expected but was | |
<"line 25 of H:/a/b/c.js">. | |
50 tests, 86 assertions, 9 failures, 8 errors | |
rake aborted! | |
Command failed with status (1): [C:/ruby/bin/ruby -Ilib;test "C:/ruby/lib/r...] | |
(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