Skip to content

Instantly share code, notes, and snippets.

@hramos
Created January 22, 2012 18:45
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 hramos/1658162 to your computer and use it in GitHub Desktop.
Save hramos/1658162 to your computer and use it in GitHub Desktop.
Failing tests on ParseResource
$ rake test
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
at /Users/hramos/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
/Users/hramos/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -I"lib:lib:test" -I"/Users/hramos/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib" "/Users/hramos/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/**/test_*.rb"
Loaded suite /Users/hramos/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Started
..F.FE.F..........................1st
2nd
.
Finished in 145.559260 seconds.
1) Failure:
test_has_many_parent_getter(TestAssociations) [/Users/hramos/Development/Ruby/parse_resource/test/test_associations.rb:74]:
<Post> expected but was
<NilClass>.
2) Failure:
test_has_many_setter(TestAssociations) [/Users/hramos/Development/Ruby/parse_resource/test/test_associations.rb:101]:
<true> expected but was
<false>.
3) Error:
test_relational_query(TestAssociations):
NoMethodError: undefined method `[]' for nil:NilClass
/Users/hramos/Development/Ruby/parse_resource/test/test_associations.rb:50:in `test_relational_query'
4) Failure:
test_to_pointer_duck_typing(TestAssociations) [/Users/hramos/Development/Ruby/parse_resource/test/test_associations.rb:63]:
<0> expected but was
<1>.
35 tests, 68 assertions, 3 failures, 1 errors, 0 skips
Test run options: --seed 6252
rake aborted!
Command failed with status (1): [/Users/hramos/.rvm/rubies/ruby-1.9.2-p290/...]
Tasks: TOP => test
(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