Skip to content

Instantly share code, notes, and snippets.

@lifo
Created January 4, 2010 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lifo/268677 to your computer and use it in GitHub Desktop.
Save lifo/268677 to your computer and use it in GitHub Desktop.
[lifo@null rails (master)]$ gem bundle -u
Calculating dependencies...
Cloning git repository at: git://github.com/rails/arel.git
Updating source: http://gems.rubyforge.org
Downloading abstract-1.0.0.gem
Downloading columnize-0.3.1.gem
Downloading erubis-2.6.5.gem
Downloading i18n-0.3.3.gem
Downloading linecache-0.43.gem
Downloading mail-1.5.1.gem
Downloading mime-types-1.16.gem
Downloading mocha-0.9.8.gem
Downloading mysql-2.8.1.gem
Downloading pg-0.8.0.gem
Downloading rack-1.1.0.gem
Downloading rack-mount-0.4.0.gem
Downloading rack-test-0.5.3.gem
Downloading rake-0.8.7.gem
Downloading RedCloth-4.2.2.gem
Downloading ruby-debug-0.10.3.gem
Downloading ruby-debug-base-0.10.3.gem
Downloading sqlite3-ruby-1.2.5.gem
Installing RedCloth (4.2.2)
Building native extensions. This could take a while...
Installing i18n (0.3.3)
Installing linecache (0.43)
Building native extensions. This could take a while...
Installing ruby-debug-base (0.10.3)
Building native extensions. This could take a while...
Installing rack (1.1.0)
Installing rack-test (0.5.3)
Installing rack-mount (0.4.0)
Installing mime-types (1.16)
Installing mail (1.5.1)
Installing abstract (1.0.0)
Installing erubis (2.6.5)
Installing sqlite3-ruby (1.2.5)
Building native extensions. This could take a while...
Installing rake (0.8.7)
Installing mocha (0.9.8)
Installing mysql (2.8.1)
Building native extensions. This could take a while...
Installing pg (0.8.0)
Building native extensions. This could take a while...
Installing columnize (0.3.1)
Installing ruby-debug (0.10.3)
Done.
[lifo@null rails (master)]$ cd actionpack/
[lifo@null actionpack (master)]$ rake
(in /Users/lifo/Rails/rails/actionpack)
Skipping MemCacheStoreTest tests. Start memcached and try again.
Loaded suite /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F....FF....F.....FF..........FF........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................P.P.P.P....................................................................................................................................................................................................................................................P.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 99.69266 seconds.
1) Failure:
test_insert_html_with_string(JavaScriptGeneratorTest)
[./test/template/prototype_helper_test.rb:325:in `test_insert_html_with_string'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `__send__'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `run'
/Users/lifo/Rails/rails/activesupport/lib/active_support/callbacks.rb:417:in `_run_setup_callbacks'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"Element.insert(\"element\", { top: \"\\u003Cp\\u003EThis is a test\\u003C/p\\u003E\" });"> expected but was
<"Element.insert(\"element\", { top: \"<p>This is a test</p>\" });">.
2) Failure:
test_replace_element_with_string(JavaScriptGeneratorTest)
[./test/template/prototype_helper_test.rb:341:in `test_replace_element_with_string'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `__send__'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `run'
/Users/lifo/Rails/rails/activesupport/lib/active_support/callbacks.rb:417:in `_run_setup_callbacks'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"Element.replace(\"element\", \"\\u003Cdiv id=\\\"element\\\"\\u003E\\u003Cp\\u003EThis is a test\\u003C/p\\u003E\\u003C/div\\u003E\");"> expected but was
<"Element.replace(\"element\", \"<div id=\\\"element\\\"><p>This is a test</p></div>\");">.
3) Failure:
test_replace_html_with_string(JavaScriptGeneratorTest)
[./test/template/prototype_helper_test.rb:336:in `test_replace_html_with_string'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `__send__'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `run'
/Users/lifo/Rails/rails/activesupport/lib/active_support/callbacks.rb:417:in `_run_setup_callbacks'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"Element.update(\"element\", \"\\u003Cp\\u003EThis is a test\\u003C/p\\u003E\");"> expected but was
<"Element.update(\"element\", \"<p>This is a test</p>\");">.
4) Failure:
test_to_s(JavaScriptGeneratorTest)
[./test/template/prototype_helper_test.rb:403:in `test_to_s'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `__send__'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `run'
/Users/lifo/Rails/rails/activesupport/lib/active_support/callbacks.rb:417:in `_run_setup_callbacks'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"Element.insert(\"element\", { top: \"\\u003Cp\\u003EThis is a test\\u003C/p\\u003E\" });\nElement.insert(\"element\", { bottom: \"\\u003Cp\\u003EThis is a test\\u003C/p\\u003E\" });\n[\"foo\",\"bar\"].each(Element.remove);\nElement.update(\"baz\", \"\\u003Cp\\u003EThis is a test\\u003C/p\\u003E\");"> expected but was
<"Element.insert(\"element\", { top: \"<p>This is a test</p>\" });\nElement.insert(\"element\", { bottom: \"<p>This is a test</p>\" });\n[\"foo\",\"bar\"].each(Element.remove);\nElement.update(\"baz\", \"<p>This is a test</p>\");">.
5) Failure:
test_button_to_function_with_rjs_block(JavaScriptHelperTest)
[/Users/lifo/Rails/rails/actionpack/lib/action_dispatch/testing/assertions/dom.rb:18:in `assert_dom_equal'
./test/template/javascript_helper_test.rb:66:in `test_button_to_function_with_rjs_block'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `__send__'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `run'
/Users/lifo/Rails/rails/activesupport/lib/active_support/callbacks.rb:417:in `_run_setup_callbacks'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<input value=\"Greet me!\" type=\"button\" onclick=\"Element.update(&quot;header&quot;, &quot;\\u003Ch1\\u003EGreetings\\u003C/h1\\u003E&quot;);;\" />"> expected to be == to
<"<input value=\"Greet me!\" type=\"button\" onclick=\"Element.update(&quot;header&quot;, &quot;&lt;h1&gt;Greetings&lt;/h1&gt;&quot;);;\" />">.
6) Failure:
test_button_to_function_with_rjs_block_and_options(JavaScriptHelperTest)
[/Users/lifo/Rails/rails/actionpack/lib/action_dispatch/testing/assertions/dom.rb:18:in `assert_dom_equal'
./test/template/javascript_helper_test.rb:73:in `test_button_to_function_with_rjs_block_and_options'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `__send__'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `run'
/Users/lifo/Rails/rails/activesupport/lib/active_support/callbacks.rb:417:in `_run_setup_callbacks'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<input class=\"greeter\" value=\"Greet me!\" type=\"button\" onclick=\"Element.update(&quot;header&quot;, &quot;\\u003Ch1\\u003EGreetings\\u003C/h1\\u003E&quot;);;\" />"> expected to be == to
<"<input class=\"greeter\" value=\"Greet me!\" type=\"button\" onclick=\"Element.update(&quot;header&quot;, &quot;&lt;h1&gt;Greetings&lt;/h1&gt;&quot;);;\" />">.
7) Failure:
test_link_to_function_with_rjs_block(JavaScriptHelperTest)
[/Users/lifo/Rails/rails/actionpack/lib/action_dispatch/testing/assertions/dom.rb:18:in `assert_dom_equal'
./test/template/javascript_helper_test.rb:42:in `test_link_to_function_with_rjs_block'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `__send__'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `run'
/Users/lifo/Rails/rails/activesupport/lib/active_support/callbacks.rb:417:in `_run_setup_callbacks'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<a href=\"#\" onclick=\"Element.update(&quot;header&quot;, &quot;\\u003Ch1\\u003EGreetings\\u003C/h1\\u003E&quot;);; return false;\">Greet me!</a>"> expected to be == to
<"<a href=\"#\" onclick=\"Element.update(&quot;header&quot;, &quot;&lt;h1&gt;Greetings&lt;/h1&gt;&quot;);; return false;\">Greet me!</a>">.
8) Failure:
test_link_to_function_with_rjs_block_and_options(JavaScriptHelperTest)
[/Users/lifo/Rails/rails/actionpack/lib/action_dispatch/testing/assertions/dom.rb:18:in `assert_dom_equal'
./test/template/javascript_helper_test.rb:49:in `test_link_to_function_with_rjs_block_and_options'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `__send__'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `run'
/Users/lifo/Rails/rails/activesupport/lib/active_support/callbacks.rb:417:in `_run_setup_callbacks'
/Users/lifo/Rails/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"<a href=\"#\" class=\"updater\" onclick=\"Element.update(&quot;header&quot;, &quot;\\u003Ch1\\u003EGreetings\\u003C/h1\\u003E&quot;);; return false;\">Greet me!</a>"> expected to be == to
<"<a href=\"#\" class=\"updater\" onclick=\"Element.update(&quot;header&quot;, &quot;&lt;h1&gt;Greetings&lt;/h1&gt;&quot;);; return false;\">Greet me!</a>">.
2558 tests, 11755 assertions, 8 failures, 0 errors
Pending Cases:
test_response_cache_control_from_rackish_app at ./test/dispatch/response_test.rb, line 190
test_response_cache_control_from_railsish_app at ./test/dispatch/response_test.rb, line 171
test_response_charset_and_content_type_from_rackish_app at ./test/dispatch/response_test.rb, line 226
test_response_charset_and_content_type_from_railsish_app at ./test/dispatch/response_test.rb, line 208
test_file_stream at ./test/controller/send_file_test.rb, line 54
rake aborted!
Command failed with status (1): [/opt/ruby-enterprise-1.8.7-2009.10/bin/rub...]
(See full trace by running task with --trace)
[lifo@null actionpack (master)]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment