Skip to content

Instantly share code, notes, and snippets.

@tenderlove
Created May 10, 2011 23: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 tenderlove/965615 to your computer and use it in GitHub Desktop.
Save tenderlove/965615 to your computer and use it in GitHub Desktop.
[aaron@mobile-166-187-123-124 arel (zomg)]$ rake
(in /Users/aaron/git/arel)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -w -Ilib:bin:test:. -e 'require "rubygems"; require "test/unit"; require "test/attributes/test_attribute.rb"; require "test/nodes/test_as.rb"; require "test/nodes/test_bin.rb"; require "test/nodes/test_count.rb"; require "test/nodes/test_delete_statement.rb"; require "test/nodes/test_equality.rb"; require "test/nodes/test_infix_operation.rb"; require "test/nodes/test_insert_statement.rb"; require "test/nodes/test_named_function.rb"; require "test/nodes/test_node.rb"; require "test/nodes/test_not.rb"; require "test/nodes/test_or.rb"; require "test/nodes/test_select_core.rb"; require "test/nodes/test_select_statement.rb"; require "test/nodes/test_sql_literal.rb"; require "test/nodes/test_sum.rb"; require "test/nodes/test_update_statement.rb"; require "test/test_activerecord_compat.rb"; require "test/test_attributes.rb"; require "test/test_crud.rb"; require "test/test_delete_manager.rb"; require "test/test_factory_methods.rb"; require "test/test_insert_manager.rb"; require "test/test_select_manager.rb"; require "test/test_table.rb"; require "test/test_update_manager.rb"; require "test/visitors/test_depth_first.rb"; require "test/visitors/test_dot.rb"; require "test/visitors/test_ibm_db.rb"; require "test/visitors/test_join_sql.rb"; require "test/visitors/test_mssql.rb"; require "test/visitors/test_mysql.rb"; require "test/visitors/test_oracle.rb"; require "test/visitors/test_postgres.rb"; require "test/visitors/test_sqlite.rb"; require "test/visitors/test_to_sql.rb"' --
Run options: --seed 50836
# Running tests:
............................/test/test_activerecord_compat.rb:12:in `test_0001_provides_wheres': SelectManager#wheres is deprecated and will be removed in ARel 3.0.0 with no replacement
............F.............................................................................(./lib/arel/visitors/visitor.rb:15:in `send') Using UpdateManager without setting UpdateManager#key is
deprecated and support will be removed in ARel 3.0.0. Please set the primary
key on UpdateManager using UpdateManager#key=
primary_key (./lib/arel/visitors/to_sql.rb:55:in `visit_Arel_Nodes_UpdateStatement') is deprecated and will be removed in ARel 3.0.0
.............F....................(./lib/arel/visitors/visitor.rb:15:in `send') Using UpdateManager without setting UpdateManager#key is
deprecated and support will be removed in ARel 3.0.0. Please set the primary
key on UpdateManager using UpdateManager#key=
primary_key (./lib/arel/visitors/to_sql.rb:55:in `visit_Arel_Nodes_UpdateStatement') is deprecated and will be removed in ARel 3.0.0
..............................................insert (./test/test_select_manager.rb:431:in `test_0001_uses_the_select_from') is deprecated and will be removed in ARel 3.0.0. Please
switch to `compile_insert`
primary_key (./lib/arel/select_manager.rb:260:in `insert') is deprecated and will be removed in ARel 3.0.0
...........................................................................................................................................................................................................................................
Finished tests in 0.192840s, 2240.1991 tests/s, 3733.6652 assertions/s.
1) Failure:
test_0001_uses_alias_in_sql(select manager::initialize) [./test/test_select_manager.rb:219]:
Expected "SELECT FROM \"users\" foo OFFSET 10", not "SELECT FROM \"users\" \"foo\" OFFSET 10".
2) Failure:
test_0003_can_make_a_subselect(select manager::backwards compatibility::as) [./test/test_select_manager.rb:118]:
Expected "SELECT name FROM (SELECT * FROM zomg ) foo", not "SELECT name FROM (SELECT * FROM zomg ) \"foo\"".
432 tests, 720 assertions, 2 failures, 0 errors, 0 skips
Loaded suite .
Started
Finished in 0.000336 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
rake aborted!
Command failed with status (1): [/System/Library/Frameworks/Ruby.framework/...]
(See full trace by running task with --trace)
[aaron@mobile-166-187-123-124 arel (zomg)]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment