Yes I saw another one last night. I put a fix in yesterday. Fortunately that
one (and this one) is only a bug in the test, not a bug in tracks.

 

This one is a conversion problem with timezones. I'll pick it up this week.

 

Reinier

 

Van: [email protected]
[mailto:[email protected]] Namens Eric Allen
Verzonden: maandag 2 maart 2009 2:58
Aan: track-discuss
Onderwerp: [Tracks-discuss] v1.7 failing tests??

 

So, um, did we actually ship a release with failing tests and failing specs?

 

$ rake test:functionals

(in /Users/epall/programming/tracks)

/opt/local/bin/ruby -Ilib:test
"/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb"
"test/functional/backend_controller_test.rb"
"test/functional/contexts_controller_test.rb"
"test/functional/data_controller_test.rb"
"test/functional/feedlist_controller_test.rb"
"test/functional/integrations_controller_test.rb"
"test/functional/login_controller_test.rb"
"test/functional/notes_controller_test.rb"
"test/functional/preferences_controller_test.rb"
"test/functional/projects_controller_test.rb"
"test/functional/recurring_todos_controller_test.rb"
"test/functional/stats_controller_test.rb"
"test/functional/todos_controller_test.rb"
"test/functional/users_controller_test.rb" 

Creating sqlite :memory: database

Loaded suite
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader

Started

............................................................................
.............................................................F..............
..............

Finished in 11.079852 seconds.

 

  1) Failure:

test_toggle_check_on_rec_todo_show_from_today(TodosControllerTest)

    [./test/functional/todos_controller_test.rb:473:in
`test_toggle_check_on_rec_todo_show_from_today'

 
/Users/epall/programming/tracks/vendor/rails/activesupport/lib/active_suppor
t/testing/setup_and_teardown.rb:94:in `__send__'

 
/Users/epall/programming/tracks/vendor/rails/activesupport/lib/active_suppor
t/testing/setup_and_teardown.rb:94:in `run']:

<Thu Apr 02 00:00:00 UTC 2009> expected but was

<Wed Apr 01 23:00:00 UTC 2009>.

 

166 tests, 513 assertions, 1 failures, 0 errors

rake aborted!

Command failed with status (1): [/opt/local/bin/ruby -Ilib:test
"/opt/local...]

 

(See full trace by running task with --trace)

rake test:functionals  19.00s user 3.18s system 96% cpu 22.988 total

ep...@beast:programming/tracks

$
[git:core]

 

--------------------

'User associations has many completed todos' FAILED

 expected: has_many :completed_todos, :include => [:project, :context],
:class_name => ["Todo"], :conditions => ["todos.state = ? and
todos.completed_at is not null", "completed"], :order =>
["todos.completed_at DESC"]

      got: has_many :completed_todos, :include => [:project, :context],
:class_name => "Todo", :conditions => ["todos.state = ? AND
NOT(todos.completed_at IS NULL)", "completed"], :extend =>
[UserCompletedTodosAssociationExtension], :order => "todos.completed_at
DESC"

./spec/models/user_spec.rb:58:

 

_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to