Skip to content

Instantly share code, notes, and snippets.

@will
Created March 11, 2010 00:42
Show Gist options
  • Save will/328657 to your computer and use it in GitHub Desktop.
Save will/328657 to your computer and use it in GitHub Desktop.
% rvm specs
jruby-1.4.0: jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_17) [x86_64-java]
(in /Users/will/code/couchrest)
This spec requires 'active_support' to be loaded
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 28.965 seconds
536 examples, 0 failures
ree-1.8.7-2009.10: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.2.0], MBARI 0x6770, Ruby Enterprise Edition 2009.10
(in /Users/will/code/couchrest)
This spec requires 'active_support' to be loaded
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F............................
1)
'ExtendedDocument properties casting when type primitive is a Time and value is a string parses the string' FAILED
expected 18
got 17
(compared using eql?)
./spec/couchrest/more/property_spec.rb:550:
Finished in 15.370526 seconds
536 examples, 1 failure
rake aborted!
Command /Users/will/.rvm/ree-1.8.7-2009.10/bin/ruby -I"lib" "/Users/will/.rvm/gems/ree-1.8.7-2009.10/gems/rspec-1.3.0/bin/spec" "spec/couchrest/core/couchrest_spec.rb" "spec/couchrest/core/database_spec.rb" "spec/couchrest/core/design_spec.rb" "spec/couchrest/core/document_spec.rb" "spec/couchrest/core/server_spec.rb" "spec/couchrest/helpers/pager_spec.rb" "spec/couchrest/helpers/streamer_spec.rb" "spec/couchrest/more/attribute_protection_spec.rb" "spec/couchrest/more/casted_extended_doc_spec.rb" "spec/couchrest/more/casted_model_spec.rb" "spec/couchrest/more/extended_doc_attachment_spec.rb" "spec/couchrest/more/extended_doc_inherited_spec.rb" "spec/couchrest/more/extended_doc_spec.rb" "spec/couchrest/more/extended_doc_subclass_spec.rb" "spec/couchrest/more/extended_doc_view_spec.rb" "spec/couchrest/more/property_spec.rb" --color failed
(See full trace by running task with --trace)
ruby-1.8.6-p383: ruby 1.8.6 (2009-08-04 patchlevel 383) [i686-darwin10.2.0]
(in /Users/will/code/couchrest)
This spec requires 'active_support' to be loaded
................................................................................................................................................................................................................................................................................................................................................................................................................................................F..........................................................................F............................
1)
'ExtendedDocument properties casting when type primitive is an Object it should not cast given value' FAILED
expected [{}, "q", 1]
got [{}, "q", 1]
(compared using eql?)
./spec/couchrest/more/property_spec.rb:175:
2)
'ExtendedDocument properties casting when type primitive is a Time and value is a string parses the string' FAILED
expected 18
got 17
(compared using eql?)
./spec/couchrest/more/property_spec.rb:550:
Finished in 16.241284 seconds
536 examples, 2 failures
rake aborted!
Command /Users/will/.rvm/ruby-1.8.6-p383/bin/ruby -I"lib" "/Users/will/.rvm/gems/ruby-1.8.6-p383/gems/rspec-1.3.0/bin/spec" "spec/couchrest/core/couchrest_spec.rb" "spec/couchrest/core/database_spec.rb" "spec/couchrest/core/design_spec.rb" "spec/couchrest/core/document_spec.rb" "spec/couchrest/core/server_spec.rb" "spec/couchrest/helpers/pager_spec.rb" "spec/couchrest/helpers/streamer_spec.rb" "spec/couchrest/more/attribute_protection_spec.rb" "spec/couchrest/more/casted_extended_doc_spec.rb" "spec/couchrest/more/casted_model_spec.rb" "spec/couchrest/more/extended_doc_attachment_spec.rb" "spec/couchrest/more/extended_doc_inherited_spec.rb" "spec/couchrest/more/extended_doc_spec.rb" "spec/couchrest/more/extended_doc_subclass_spec.rb" "spec/couchrest/more/extended_doc_view_spec.rb" "spec/couchrest/more/property_spec.rb" --color failed
(See full trace by running task with --trace)
ruby-1.9.1-p376: ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10.2.0]
(in /Users/will/code/couchrest)
This spec requires 'active_support' to be loaded
.....................................................................................................................................................................................................................................FFF........................................................................................................................................................................................F.......................................................................................................................
1)
NoMethodError in 'CouchRest::CastedModel calling base_doc from a nested casted model should reference the top document for'
undefined method `collect' for "Professor Plum":String
/Users/will/code/couchrest/spec/couchrest/more/casted_model_spec.rb:333:in `new'
/Users/will/code/couchrest/spec/couchrest/more/casted_model_spec.rb:333:in `block (3 levels) in <top (required)>'
2)
NoMethodError in 'CouchRest::CastedModel calling base_doc from a nested casted model should call setter on top document'
undefined method `collect' for "Professor Plum":String
/Users/will/code/couchrest/spec/couchrest/more/casted_model_spec.rb:333:in `new'
/Users/will/code/couchrest/spec/couchrest/more/casted_model_spec.rb:333:in `block (3 levels) in <top (required)>'
3)
NoMethodError in 'CouchRest::CastedModel calling base_doc from a nested casted model should return nil if not yet casted'
undefined method `collect' for "Professor Plum":String
/Users/will/code/couchrest/spec/couchrest/more/casted_model_spec.rb:333:in `new'
/Users/will/code/couchrest/spec/couchrest/more/casted_model_spec.rb:333:in `block (3 levels) in <top (required)>'
4)
NoMethodError in 'ExtendedDocument properties should let you use an alias for a casted attribute'
undefined method `collect' for "Aimonetti":String
/Users/will/code/couchrest/spec/couchrest/more/property_spec.rb:45:in `new'
/Users/will/code/couchrest/spec/couchrest/more/property_spec.rb:45:in `block (2 levels) in <top (required)>'
Finished in 15.121161 seconds
536 examples, 4 failures
rake aborted!
Command /Users/will/.rvm/ruby-1.9.1-p376/bin/ruby -I"lib" "/Users/will/.rvm/gems/ruby-1.9.1-p376/gems/rspec-1.3.0/bin/spec" "spec/couchrest/core/couchrest_spec.rb" "spec/couchrest/core/database_spec.rb" "spec/couchrest/core/design_spec.rb" "spec/couchrest/core/document_spec.rb" "spec/couchrest/core/server_spec.rb" "spec/couchrest/helpers/pager_spec.rb" "spec/couchrest/helpers/streamer_spec.rb" "spec/couchrest/more/attribute_protection_spec.rb" "spec/couchrest/more/casted_extended_doc_spec.rb" "spec/couchrest/more/casted_model_spec.rb" "spec/couchrest/more/extended_doc_attachment_spec.rb" "spec/couchrest/more/extended_doc_inherited_spec.rb" "spec/couchrest/more/extended_doc_spec.rb" "spec/couchrest/more/extended_doc_subclass_spec.rb" "spec/couchrest/more/extended_doc_view_spec.rb" "spec/couchrest/more/property_spec.rb" --color failed
(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