Skip to content

Instantly share code, notes, and snippets.

@xaviershay
Created November 18, 2008 09:11
Show Gist options
  • Save xaviershay/26082 to your computer and use it in GitHub Desktop.
Save xaviershay/26082 to your computer and use it in GitHub Desktop.
~/Code/dm-more-sam/dm-constraints (master)$ rake
(in /Users/xavier/Code/dm-more-sam/dm-constraints)
Loaded suite .
Started
Finished in 0.000155 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
Could not load do_postgres: Could not find RubyGem do_postgres (~> 0.9.7)
.../Users/xavier/Code/dm-more-sam/dm-constraints/spec/integration/constraints_spec.rb:61: warning: Object#id will be deprecated; use Object#object_id
.FFFF
1)
NoMethodError in 'DataMapper::Constraints is included when DataMapper::Searchable is loaded'
undefined method `resource_naming_convention' for nil:NilClass
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:70:in `auto_migrate_constraints_down'
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:69:in `each'
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:69:in `auto_migrate_constraints_down'
/Users/xavier/Code/dm-more-sam/dm-constraints/spec/integration/constraints_spec.rb:42:
2)
NoMethodError in 'DataMapper::Constraints should be able to create related objects with a foreign key constraint'
undefined method `resource_naming_convention' for nil:NilClass
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:70:in `auto_migrate_constraints_down'
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:69:in `each'
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:69:in `auto_migrate_constraints_down'
/Users/xavier/Code/dm-more-sam/dm-constraints/spec/integration/constraints_spec.rb:42:
3)
NoMethodError in 'DataMapper::Constraints should be able to create related objects with a composite foreign key constraint'
undefined method `resource_naming_convention' for nil:NilClass
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:70:in `auto_migrate_constraints_down'
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:69:in `each'
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:69:in `auto_migrate_constraints_down'
/Users/xavier/Code/dm-more-sam/dm-constraints/spec/integration/constraints_spec.rb:42:
4)
NoMethodError in 'DataMapper::Constraints should not be able to create related objects with a failing foreign key constraint'
undefined method `resource_naming_convention' for nil:NilClass
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:70:in `auto_migrate_constraints_down'
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:69:in `each'
/Users/xavier/Code/dm-more-sam/dm-constraints/lib/dm-constraints/data_objects_adapter.rb:69:in `auto_migrate_constraints_down'
/Users/xavier/Code/dm-more-sam/dm-constraints/spec/integration/constraints_spec.rb:42:
Finished in 0.837565 seconds
8 examples, 4 failures
rake aborted!
Command /opt/local/bin/ruby -I"/opt/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib" "/opt/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/bin/spec" "/Users/xavier/Code/dm-more-sam/dm-constraints/spec/integration/constraints_spec.rb" --colour --loadby random failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment