Skip to content

Instantly share code, notes, and snippets.

@myabc
Created April 3, 2009 09:50
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 myabc/89689 to your computer and use it in GitHub Desktop.
Save myabc/89689 to your computer and use it in GitHub Desktop.
jruby -S rake spec
(in /Users/alexbcoles/git-repos/dm-core)
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
Could not connect to the database using "sqlite3::memory:" because: #<ArgumentError: Malformed URI: java.net.URISyntaxException: Relative path in absolute URI: sqlite://:memory:>
redefining Driver
/usr/local/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/object.rb:74 warning: already initialized constant Driver
..............*....................*.................F..*FF..F..FFF..F.......*......................................**....**....**....**..........*.*.......*..........*.*.......*..........*F*..F..FF*..FF......*.*.....F.*....*..***....*..***FF.*F.*F*....*..***........................................................*****.....................................*....*....*....*.......................*.........................................................................................................****......................................................................................................................................................................................................................................................*...*..........................................................*****.....................................*....*....*....*.......................*.........................................................................................................****......................................................................................................................................................................................................................................................*...*..................................................F....F.F..F.F..F.......F....................F.....*....*....*....*FF.F..F................*.F.......F.......F..F.......F...........F.....FF.FFFFF..F.FFF....F.......F.......F..F.......F...F.F.****....................F..F................................F.....F.......FF.F.FF.F........F....F..........FF.F.FF.F........F....F......F.....F.F..F.F..FF..F.F..F.F...FF.....F....F....F.....F....F....F.....F....F....F.....F....F....F..F....F..F..*.F.*F...................................................................................................*....*....*....*.......................*.........................................................................................................****......................................................................F.FF.F.FF........F....F..........F.FF.F.FF........F....F..........FF........F....FFFF...................................................................................*...*..........................................................*****.................................*....*....*....*.......................*.........................................................................................................****......................................................................................................................................................................................................................................................*...*..........................................................*****.................................*....*....*....*.......................*.........................................................................................................****......................................................................................................................................................................................................................................................*...*..................................................F....F.F..F.F..F.....F..................F.....*....*....*....*FF.F..F................*.F.......F.......F..F.......F...........F.....FF.FFFFF..F.FFF....F.......F.......F..F.......F...F.F.****....................F..F................................F.....F..........F....F........F....F.............F....F........F....F......F.....F.F..F.F..FF..F.F..F.F...FF.....F....F....F.....F....F....F.....F....F....F.....F....F....F..F....F..F..*.F.*F...............................................................................................*....*....*....*.......................*.........................................................................................................****.........................................................................F....F........F....F.............F....F........F....F..............F....F........F....F......................................................................................*...*...................................F....FF.................................F....FF.FFFFFFFFFFFF........F.......F...F...FFF......F...F......................F....FF.**.*.............*.......**.......*....*.......*......*..**..**.**.*.............*.......**.......*....*.......*......*..**..**.**.*.............*.......**.....
Pending:
DataMapper::Associations#has 1 with in_memory mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has 1 with yaml mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has 1 with mysql mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has 1 with postgres mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has n..n through with in_memory when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with in_memory when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with yaml when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with yaml when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with mysql when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with mysql when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with postgres when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with postgres when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with in_memory mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with in_memory mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with in_memory mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with yaml mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with yaml mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with yaml mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with mysql mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with mysql mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with mysql mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with postgres mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with postgres mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with postgres mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to pending query specs with in_memory changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with in_memory changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with in_memory changing an existing resource through the relation should also change the foreign key (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:446
DataMapper::Associations#belongs_to pending query specs with in_memory changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Associations#belongs_to pending query specs with yaml changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with yaml changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with yaml changing an existing resource through the relation should also change the foreign key (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:446
DataMapper::Associations#belongs_to pending query specs with yaml changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Associations#belongs_to pending query specs with mysql changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with mysql changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with mysql changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Associations#belongs_to pending query specs with postgres changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with postgres changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with postgres changing an existing resource through the relation should also change the foreign key (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:446
DataMapper::Associations#belongs_to pending query specs with postgres changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Collection with in_memory#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with in_memory#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with in_memory#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with in_memory#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with in_memory#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with in_memory#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with yaml#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with yaml#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with yaml#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with yaml#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with yaml#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with yaml#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with mysql#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with mysql#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with mysql#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with mysql#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with mysql#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with mysql#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with postgres#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with postgres#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with postgres#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with postgres#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with postgres#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with postgres#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with in_memory#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with in_memory#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with in_memory#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with in_memory#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with in_memory#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with in_memory#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with yaml#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with yaml#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with yaml#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with yaml#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with yaml#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with yaml#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with mysql#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with mysql#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with mysql#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with mysql#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with mysql#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with mysql#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with postgres#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with postgres#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with postgres#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with postgres#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with postgres#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with postgres#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Property with in_memory#field returns field for specific repository when it is present (Not Yet Implemented)
spec/public/property_spec.rb:42
DataMapper::Property with in_memory#field sets field value using field naming convention on first reference (Not Yet Implemented)
spec/public/property_spec.rb:44
DataMapper::Property with in_memory#unique? is true for serial fields (TODO)
spec/public/property_spec.rb:53
DataMapper::Property with in_memory#key? returns true when property is a part of composite key (Not Yet Implemented)
spec/public/property_spec.rb:132
DataMapper::Property with in_memory#custom? is true for custom type fields (not provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:160
DataMapper::Property with in_memory#custom? is false for core type fields (provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:162
DataMapper::Property with in_memory#set triggers lazy loading for given resource (Not Yet Implemented)
spec/public/property_spec.rb:260
DataMapper::Property with in_memory#typecast when type is able to do typecasting on it's own delegates all the work to the type (Not Yet Implemented)
spec/public/property_spec.rb:297
DataMapper::Property with in_memory#typecast when type primitive is a BigDecimal casts the value to BigDecimal (Not Yet Implemented)
spec/public/property_spec.rb:346
DataMapper::Property with in_memory#typecast when type primitive is a Class looks up constant in Property namespace (Not Yet Implemented)
spec/public/property_spec.rb:430
DataMapper::Property with in_memory#value returns value for core types (Not Yet Implemented)
spec/public/property_spec.rb:445
DataMapper::Property with in_memory#value triggers dump operation for custom types (Not Yet Implemented)
spec/public/property_spec.rb:447
DataMapper::Property with in_memory#initialize when tracking strategy is explicitly given uses tracking strategy from options (Not Yet Implemented)
spec/public/property_spec.rb:466
DataMapper::Property with in_memory#initialize when custom type has tracking stragegy uses tracking strategy from type (Not Yet Implemented)
spec/public/property_spec.rb:470
DataMapper::Property with yaml#field returns field for specific repository when it is present (Not Yet Implemented)
spec/public/property_spec.rb:42
DataMapper::Property with yaml#field sets field value using field naming convention on first reference (Not Yet Implemented)
spec/public/property_spec.rb:44
DataMapper::Property with yaml#unique? is true for serial fields (TODO)
spec/public/property_spec.rb:53
DataMapper::Property with yaml#key? returns true when property is a part of composite key (Not Yet Implemented)
spec/public/property_spec.rb:132
DataMapper::Property with yaml#custom? is true for custom type fields (not provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:160
DataMapper::Property with yaml#custom? is false for core type fields (provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:162
DataMapper::Property with yaml#set triggers lazy loading for given resource (Not Yet Implemented)
spec/public/property_spec.rb:260
DataMapper::Property with yaml#typecast when type is able to do typecasting on it's own delegates all the work to the type (Not Yet Implemented)
spec/public/property_spec.rb:297
DataMapper::Property with yaml#typecast when type primitive is a BigDecimal casts the value to BigDecimal (Not Yet Implemented)
spec/public/property_spec.rb:346
DataMapper::Property with yaml#typecast when type primitive is a Class looks up constant in Property namespace (Not Yet Implemented)
spec/public/property_spec.rb:430
DataMapper::Property with yaml#value returns value for core types (Not Yet Implemented)
spec/public/property_spec.rb:445
DataMapper::Property with yaml#value triggers dump operation for custom types (Not Yet Implemented)
spec/public/property_spec.rb:447
DataMapper::Property with yaml#initialize when tracking strategy is explicitly given uses tracking strategy from options (Not Yet Implemented)
spec/public/property_spec.rb:466
DataMapper::Property with yaml#initialize when custom type has tracking stragegy uses tracking strategy from type (Not Yet Implemented)
spec/public/property_spec.rb:470
DataMapper::Property with mysql#field returns field for specific repository when it is present (Not Yet Implemented)
spec/public/property_spec.rb:42
DataMapper::Property with mysql#field sets field value using field naming convention on first reference (Not Yet Implemented)
spec/public/property_spec.rb:44
DataMapper::Property with mysql#unique? is true for serial fields (TODO)
spec/public/property_spec.rb:53
DataMapper::Property with mysql#key? returns true when property is a part of composite key (Not Yet Implemented)
spec/public/property_spec.rb:132
DataMapper::Property with mysql#custom? is true for custom type fields (not provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:160
DataMapper::Property with mysql#custom? is false for core type fields (provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:162
1)
'DataMapper::Associations#has 1 with mysql accessor when there is an associated resource with a query should return the expected Resource' FAILED
expected: #<Engine @id=nil @car_id=nil>,
got: #<Engine @id=1 @car_id=nil> (using ==)
spec/public/associations_spec.rb:59:
2)
TypeError in 'DataMapper::Associations#has 1 with mysql mutator when setting an associated resource should persist the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:91:
3)
'DataMapper::Associations#has 1 with mysql mutator when setting an associated resource should persist the associated Resource' FAILED
expected: #<Car @id=nil>,
got: nil (using ==)
spec/public/associations_spec.rb:98:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
spec/public/associations_spec.rb:95:
4)
TypeError in 'DataMapper::Associations#has 1 with mysql mutator when setting a nil resource should persist as nil'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:120:
5)
'DataMapper::Associations#has 1 with mysql mutator when changing an associated resource should relate associated Resource' FAILED
expected: #<Car @id=nil>,
got: #<Car @id=1> (using ==)
spec/public/associations_spec.rb:142:
6)
TypeError in 'DataMapper::Associations#has 1 with mysql mutator when changing an associated resource should persist the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:147:
7)
'DataMapper::Associations#has 1 with mysql mutator when changing an associated resource should persist the associated Resource' FAILED
expected: #<Car @id=nil>,
got: #<Car @id=1> (using ==)
spec/public/associations_spec.rb:154:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
spec/public/associations_spec.rb:151:
8)
PostgresError in 'DataMapper::Associations#has 1 with postgres accessor when there is no associated resource without a query before(:all)'
(sql_state=42601) ERROR: syntax error at or near "$1"
Query: SELECT "id", "car_id" FROM "engines" WHERE "car_id" IS NULL ORDER BY "id" LIMIT 1
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:84:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:226:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:77:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:143:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:214:in `first'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_one.rb:14:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_many.rb:105:in `engine'
spec/public/associations_spec.rb:8:
9)
TypeError in 'DataMapper::Associations#belongs_to with mysql mutator when setting an associated resource should persist the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:91:
10)
TypeError in 'DataMapper::Associations#belongs_to with mysql mutator when setting a nil resource should persist as nil'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:120:
11)
'DataMapper::Associations#belongs_to with mysql mutator when changing an associated resource should relate associated Resource' FAILED
expected: #<Car @id=nil @engine_id=nil>,
got: #<Car @id=1 @engine_id=0> (using ==)
spec/public/associations_spec.rb:142:
12)
TypeError in 'DataMapper::Associations#belongs_to with mysql mutator when changing an associated resource should persist the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:147:
13)
PostgresError in 'DataMapper::Associations#belongs_to with postgres accessor when there is no associated resource without a query before(:all)'
(sql_state=42601) ERROR: syntax error at or near "$1"
Query: SELECT "id" FROM "engines" WHERE "id" IS NULL
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:84:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:226:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:77:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:143:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:419:in `first'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:140:in `lazy_load'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:43:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:113:in `engine'
spec/public/associations_spec.rb:8:
14)
PostgresError in 'DataMapper::Associations#belongs_to with postgres accessor when there is no associated resource with a query before(:all)'
(sql_state=42601) ERROR: syntax error at or near "$1"
Query: SELECT "id" FROM "engines" WHERE "id" IS NULL
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:84:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:226:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:77:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:143:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:419:in `first'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:140:in `lazy_load'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:43:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:113:in `engine'
spec/public/associations_spec.rb:20:
15)
PostgresError in 'DataMapper::Associations#belongs_to with postgres mutator when changing an associated resource should relate associated Resource'
(sql_state=42601) ERROR: syntax error at or near "$1"
Query: SELECT "id", "engine_id" FROM "cars" WHERE "engine_id" IS NULL ORDER BY "id" LIMIT 1
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:84:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:226:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:77:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:143:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:214:in `first'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_one.rb:14:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_many.rb:105:in `car'
spec/public/associations_spec.rb:142:
16)
TypeError in 'DataMapper::Associations#belongs_to pending query specs with mysql querying for a parent resource before(:all)'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:54:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_many.rb:105:in `car'
spec/public/associations_spec.rb:363:
17)
TypeError in 'DataMapper::Associations#belongs_to pending query specs with mysql querying for a parent resource that does not exist before(:all)'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:54:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_many.rb:105:in `car'
spec/public/associations_spec.rb:379:
18)
'DataMapper::Associations#belongs_to pending query specs with mysql changing the parent foreign key should set the associated resource' FAILED
expected #<Car @id=nil>, got #<Car @id=1> (using .eql?)
spec/public/associations_spec.rb:414:
19)
'DataMapper::Associations#belongs_to pending query specs with mysql changing an existing resource through the relation should also change the foreign key' FIXED
Expected pending 'a change to the foreign key should also change the related object' to fail. No Error was raised.
spec/public/associations_spec.rb:446:
20)
'DataMapper::Collection with mysql#all with no arguments should be expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:66:
21)
'DataMapper::Collection with mysql#all with a query should return expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:98:
22)
'DataMapper::Collection with mysql#all with a query should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:107:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:106:
23)
'DataMapper::Collection with mysql#all with a query using raw conditions should return expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:139:
24)
'DataMapper::Collection with mysql#all with a query using raw conditions should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content="New Article" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:152:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:150:
25)
'DataMapper::Collection with mysql#at with positive offset should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:184:
26)
'DataMapper::Collection with mysql#at with negative offset should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:232:
27)
'DataMapper::Collection with mysql#concat should concatenate the two collections' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>, #<Article @id=nil @title="Other Article" @content="Other" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:349:
28)
'DataMapper::Collection with mysql#delete with a Resource within the Collection should return a DataMapper::Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:496:
29)
NoMethodError in 'DataMapper::Collection with mysql#delete with a Resource within the Collection should be the expected Resource'
undefined method `key' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:502:
30)
NoMethodError in 'DataMapper::Collection with mysql#delete with a Resource within the Collection should orphan the Resource'
undefined method `collection' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:510:
31)
'DataMapper::Collection with mysql#delete_at with an offset within the Collection should be the expected Resource' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:542:
32)
'DataMapper::Collection with mysql#first with no arguments should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:693:
33)
'DataMapper::Collection with mysql#first with empty query should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:737:
34)
'DataMapper::Collection with mysql#first with a query should should be the first Resource in the Collection matching the query' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:781:
35)
'DataMapper::Collection with mysql#first with limit specified should be the expected Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:799:
36)
'DataMapper::Collection with mysql#first with limit and query specified should be the first N Resources in the Collection matching the query' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:849:
37)
'DataMapper::Collection with mysql#first_or_new with conditions that find an existing Resource should be a saved Resource' FAILED
expected saved? to return true, got false
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:935:
38)
'DataMapper::Collection with mysql#get with a key to a Resource within the Collection should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:981:
39)
'DataMapper::Collection with mysql#get with a key to a Resource within the Collection should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:985:
40)
NoMethodError in 'DataMapper::Collection with mysql#get with a key not typecast before(:all)'
undefined method `map' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1001:
41)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using a limit should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1020:
42)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using a limit should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1024:
43)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using an offset should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1036:
44)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using an offset should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1040:
45)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within the Collection before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1077:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1076:
46)
NoMethodError in 'DataMapper::Collection with mysql#get! with a key not typecast before(:all)'
undefined method `map' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1101:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1100:
47)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within a Collection using a limit before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1118:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1116:
48)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within a Collection using an offset before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1136:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1133:
49)
'DataMapper::Collection with mysql#insert should insert one or more Resources at a given offset' FAILED
expected: [#<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1195:
50)
'DataMapper::Collection with mysql#last with no arguments should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1247:
51)
'DataMapper::Collection with mysql#last with a query should should be the last Resource in the Collection matching the query' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1291:
52)
'DataMapper::Collection with mysql#last with limit specified should be the expected Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1309:
53)
'DataMapper::Collection with mysql#last with limit and query specified should be the last N Resources in the Collection matching the query' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1359:
54)
'DataMapper::Collection with mysql#method_missing with a belongs_to relationship method should return expected Collection' FAILED
expected: [#<Article @id=nil @title="Original Article" @content=nil @original_id=nil>],
got: [] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1405:
55)
'DataMapper::Collection with mysql#method_missing with a has relationship method with no arguments should return expected Collection' FAILED
expected: [#<Article @id=nil @title="Other Article" @content="Other" @original_id=nil>],
got: [] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1426:
56)
TypeError in 'DataMapper::Collection with mysql#pop should orphan the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1587:
57)
'DataMapper::Collection with mysql#push should append the Resources to the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>, #<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1612:
58)
'DataMapper::Collection with mysql#reverse should return a Collection with reversed entries' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content=nil @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=nil @title="Sample Article" @content=nil @original_id=nil>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1826:
59)
'DataMapper::Collection with mysql#shift should be the first Resource in the Collection' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1890:
60)
'DataMapper::Collection with mysql#slice with a positive offset and length should return the expected Resource' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1952:
61)
'DataMapper::Collection with mysql#slice with a positive offset and length should not remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] to include #<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1956:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1956:
62)
'DataMapper::Collection with mysql#slice with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
63)
'DataMapper::Collection with mysql#slice with a positive range should return the expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1982:
64)
'DataMapper::Collection with mysql#slice with a positive range should not remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] to include #<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1986:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1986:
65)
'DataMapper::Collection with mysql#slice with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
66)
'DataMapper::Collection with mysql#slice with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
67)
'DataMapper::Collection with mysql#slice with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
68)
'DataMapper::Collection with mysql#[] with a positive offset and length should return the expected Resource' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1952:
69)
'DataMapper::Collection with mysql#[] with a positive offset and length should not remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] to include #<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1956:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1956:
70)
'DataMapper::Collection with mysql#[] with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
71)
'DataMapper::Collection with mysql#[] with a positive range should return the expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1982:
72)
'DataMapper::Collection with mysql#[] with a positive range should not remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] to include #<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1986:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1986:
73)
'DataMapper::Collection with mysql#[] with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
74)
'DataMapper::Collection with mysql#[] with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
75)
'DataMapper::Collection with mysql#[] with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
76)
'DataMapper::Collection with mysql#slice! with a positive offset should return expected Resource' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2147:
77)
'DataMapper::Collection with mysql#slice! with a positive offset and length should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2179:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2179:
78)
'DataMapper::Collection with mysql#slice! with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2187:
79)
'DataMapper::Collection with mysql#slice! with a positive range should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2207:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2207:
80)
'DataMapper::Collection with mysql#slice! with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2215:
81)
'DataMapper::Collection with mysql#slice! with a negative offset should remove the Resource from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2233:
82)
TypeError in 'DataMapper::Collection with mysql#slice! with a negative offset should orphan the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2237:
83)
'DataMapper::Collection with mysql#slice! with a negative offset and length should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2257:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2257:
84)
'DataMapper::Collection with mysql#slice! with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2265:
85)
'DataMapper::Collection with mysql#slice! with a negative range should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2285:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2285:
86)
'DataMapper::Collection with mysql#slice! with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2293:
87)
ArgumentError in 'DataMapper::Collection with mysql#sort! without a block before(:all)'
comparison of Article with Article failed
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2337:
88)
NoMethodError in 'DataMapper::Collection with mysql#sort! with a block before(:all)'
undefined method `<=>' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2355:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2355:
89)
TypeError in 'DataMapper::Collection with mysql#splice with a positive offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2424:
90)
TypeError in 'DataMapper::Collection with mysql#splice with a positive offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2455:
91)
TypeError in 'DataMapper::Collection with mysql#splice with a positive range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
92)
TypeError in 'DataMapper::Collection with mysql#splice with a negative offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2521:
93)
TypeError in 'DataMapper::Collection with mysql#splice with a negative offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2552:
94)
TypeError in 'DataMapper::Collection with mysql#splice with a negative range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
95)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2424:
96)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2455:
97)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
98)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2521:
99)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2552:
100)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
101)
'DataMapper::Collection with mysql#unshift should prepend the Resources to the Collection' FAILED
expected: [#<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2610:
102)
NoMethodError in 'DataMapper::Collection with mysql#update with attributes should persist the changes'
undefined method `title' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:
103)
NoMethodError in 'DataMapper::Collection with mysql#update with attributes where one is a parent association should persist the changes'
undefined method `original' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:
104)
NoMethodError in 'DataMapper::Collection with mysql#update! with attributes should persist the changes'
undefined method `title' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:
105)
NoMethodError in 'DataMapper::Collection with mysql#update! with attributes where one is a parent association should persist the changes'
undefined method `original' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:
106)
'DataMapper::Collection with postgres#slice with a positive offset and length should return the expected Resource' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1952:
107)
'DataMapper::Collection with postgres#slice with a positive offset and length should orphan the Resources' FAILED
expected equal?([#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=1>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=5 @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=6 @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=7 @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>]) to return false, got true
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1960:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1960:
108)
'DataMapper::Collection with postgres#slice with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
109)
'DataMapper::Collection with postgres#slice with a positive range should return the expected Resources' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1982:
110)
'DataMapper::Collection with postgres#slice with a positive range should orphan the Resources' FAILED
expected equal?([#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=1>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=5 @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=6 @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=7 @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>]) to return false, got true
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1990:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1990:
111)
'DataMapper::Collection with postgres#slice with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
112)
'DataMapper::Collection with postgres#slice with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
113)
'DataMapper::Collection with postgres#slice with a negative range should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
114)
'DataMapper::Collection with postgres#[] with a positive offset and length should return the expected Resource' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1952:
115)
'DataMapper::Collection with postgres#[] with a positive offset and length should orphan the Resources' FAILED
expected equal?([#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=1>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=5 @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=6 @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=7 @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>]) to return false, got true
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1960:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1960:
116)
'DataMapper::Collection with postgres#[] with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
117)
'DataMapper::Collection with postgres#[] with a positive range should return the expected Resources' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1982:
118)
'DataMapper::Collection with postgres#[] with a positive range should orphan the Resources' FAILED
expected equal?([#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=1>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=5 @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=6 @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=7 @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>]) to return false, got true
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1990:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1990:
119)
'DataMapper::Collection with postgres#[] with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
120)
'DataMapper::Collection with postgres#[] with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
121)
'DataMapper::Collection with postgres#[] with a negative range should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
122)
TypeError in 'DataMapper::Collection with postgres#slice! with a positive offset and length before(:all)'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1050:in `orphan_resource'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `orphan_resources'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `each'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `orphan_resources'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:357:in `slice!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2166:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2165:
123)
TypeError in 'DataMapper::Collection with postgres#slice! with a positive range before(:all)'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1050:in `orphan_resource'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `orphan_resources'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `each'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `orphan_resources'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:357:in `slice!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2194:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2193:
124)
'DataMapper::Collection with postgres#slice! with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2265:
125)
'DataMapper::Collection with postgres#slice! with a negative range should scope the Collection' FAILED
expected: [#<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2293:
126)
'DataMapper::Collection with postgres#slice! with an offset not within the Collection should return nil' FAILED
expected nil? to return true, got false
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2303:
127)
'DataMapper::Collection with postgres#slice! with an offset and length not within the Collection should return nil' FAILED
expected nil? to return true, got false
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2313:
128)
'DataMapper::Collection with postgres#slice! with a range not within the Collection should return nil' FAILED
expected nil? to return true, got false
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2323:
129)
'DataMapper::Collection with mysql#all with no arguments should be expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:66:
130)
'DataMapper::Collection with mysql#all with a query should return expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:98:
131)
'DataMapper::Collection with mysql#all with a query should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:107:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:106:
132)
'DataMapper::Collection with mysql#all with a query using raw conditions should return expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:139:
133)
'DataMapper::Collection with mysql#all with a query using raw conditions should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content="New Article" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:152:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:150:
134)
'DataMapper::Collection with mysql#at with positive offset should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:184:
135)
'DataMapper::Collection with mysql#at with negative offset should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:232:
136)
'DataMapper::Collection with mysql#concat should concatenate the two collections' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>, #<Article @id=nil @title="Other Article" @content="Other" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:349:
137)
'DataMapper::Collection with mysql#delete with a Resource within the Collection should return a DataMapper::Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:496:
138)
NoMethodError in 'DataMapper::Collection with mysql#delete with a Resource within the Collection should be the expected Resource'
undefined method `key' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:502:
139)
NoMethodError in 'DataMapper::Collection with mysql#delete with a Resource within the Collection should orphan the Resource'
undefined method `collection' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:510:
140)
'DataMapper::Collection with mysql#delete_at with an offset within the Collection should be the expected Resource' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:542:
141)
'DataMapper::Collection with mysql#first with no arguments should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:693:
142)
'DataMapper::Collection with mysql#first with empty query should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:737:
143)
'DataMapper::Collection with mysql#first with a query should should be the first Resource in the Collection matching the query' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:781:
144)
'DataMapper::Collection with mysql#first with limit specified should be the expected Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:799:
145)
'DataMapper::Collection with mysql#first with limit and query specified should be the first N Resources in the Collection matching the query' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:849:
146)
'DataMapper::Collection with mysql#first_or_new with conditions that find an existing Resource should be a saved Resource' FAILED
expected saved? to return true, got false
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:935:
147)
'DataMapper::Collection with mysql#get with a key to a Resource within the Collection should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:981:
148)
'DataMapper::Collection with mysql#get with a key to a Resource within the Collection should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:985:
149)
NoMethodError in 'DataMapper::Collection with mysql#get with a key not typecast before(:all)'
undefined method `map' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1001:
150)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using a limit should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1020:
151)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using a limit should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1024:
152)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using an offset should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1036:
153)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using an offset should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1040:
154)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within the Collection before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1077:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1076:
155)
NoMethodError in 'DataMapper::Collection with mysql#get! with a key not typecast before(:all)'
undefined method `map' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1101:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1100:
156)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within a Collection using a limit before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1118:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1116:
157)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within a Collection using an offset before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1136:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1133:
158)
'DataMapper::Collection with mysql#insert should insert one or more Resources at a given offset' FAILED
expected: [#<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1195:
159)
'DataMapper::Collection with mysql#last with no arguments should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1247:
160)
'DataMapper::Collection with mysql#last with a query should should be the last Resource in the Collection matching the query' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1291:
161)
'DataMapper::Collection with mysql#last with limit specified should be the expected Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1309:
162)
'DataMapper::Collection with mysql#last with limit and query specified should be the last N Resources in the Collection matching the query' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1359:
163)
'DataMapper::Collection with mysql#method_missing with a belongs_to relationship method should return expected Collection' FAILED
expected: [#<Article @id=nil @title="Original Article" @content=nil @original_id=nil>],
got: [] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1405:
164)
'DataMapper::Collection with mysql#method_missing with a has relationship method with no arguments should return expected Collection' FAILED
expected: [#<Article @id=nil @title="Other Article" @content="Other" @original_id=nil>],
got: [] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1426:
165)
TypeError in 'DataMapper::Collection with mysql#pop should orphan the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1587:
166)
'DataMapper::Collection with mysql#push should append the Resources to the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>, #<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1612:
167)
'DataMapper::Collection with mysql#reverse should return a Collection with reversed entries' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content=nil @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=nil @title="Sample Article" @content=nil @original_id=nil>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1826:
168)
'DataMapper::Collection with mysql#shift should be the first Resource in the Collection' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1890:
169)
'DataMapper::Collection with mysql#slice with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
170)
'DataMapper::Collection with mysql#slice with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
171)
'DataMapper::Collection with mysql#slice with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
172)
'DataMapper::Collection with mysql#slice with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
173)
'DataMapper::Collection with mysql#[] with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
174)
'DataMapper::Collection with mysql#[] with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
175)
'DataMapper::Collection with mysql#[] with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
176)
'DataMapper::Collection with mysql#[] with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
177)
'DataMapper::Collection with mysql#slice! with a positive offset should return expected Resource' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2147:
178)
'DataMapper::Collection with mysql#slice! with a positive offset and length should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2179:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2179:
179)
'DataMapper::Collection with mysql#slice! with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2187:
180)
'DataMapper::Collection with mysql#slice! with a positive range should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2207:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2207:
181)
'DataMapper::Collection with mysql#slice! with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2215:
182)
'DataMapper::Collection with mysql#slice! with a negative offset should remove the Resource from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2233:
183)
TypeError in 'DataMapper::Collection with mysql#slice! with a negative offset should orphan the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2237:
184)
'DataMapper::Collection with mysql#slice! with a negative offset and length should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2257:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2257:
185)
'DataMapper::Collection with mysql#slice! with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2265:
186)
'DataMapper::Collection with mysql#slice! with a negative range should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2285:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2285:
187)
'DataMapper::Collection with mysql#slice! with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2293:
188)
ArgumentError in 'DataMapper::Collection with mysql#sort! without a block before(:all)'
comparison of Article with Article failed
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2337:
189)
NoMethodError in 'DataMapper::Collection with mysql#sort! with a block before(:all)'
undefined method `<=>' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2355:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2355:
190)
TypeError in 'DataMapper::Collection with mysql#splice with a positive offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2424:
191)
TypeError in 'DataMapper::Collection with mysql#splice with a positive offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2455:
192)
TypeError in 'DataMapper::Collection with mysql#splice with a positive range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
193)
TypeError in 'DataMapper::Collection with mysql#splice with a negative offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2521:
194)
TypeError in 'DataMapper::Collection with mysql#splice with a negative offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2552:
195)
TypeError in 'DataMapper::Collection with mysql#splice with a negative range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
196)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2424:
197)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2455:
198)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
199)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2521:
200)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2552:
201)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
202)
'DataMapper::Collection with mysql#unshift should prepend the Resources to the Collection' FAILED
expected: [#<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2610:
203)
NoMethodError in 'DataMapper::Collection with mysql#update with attributes should persist the changes'
undefined method `title' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:
204)
NoMethodError in 'DataMapper::Collection with mysql#update with attributes where one is a parent association should persist the changes'
undefined method `original' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:
205)
NoMethodError in 'DataMapper::Collection with mysql#update! with attributes should persist the changes'
undefined method `title' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:
206)
NoMethodError in 'DataMapper::Collection with mysql#update! with attributes where one is a parent association should persist the changes'
undefined method `original' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:
207)
'DataMapper::Collection with postgres#slice with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
208)
'DataMapper::Collection with postgres#slice with a positive range should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
209)
'DataMapper::Collection with postgres#slice with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
210)
'DataMapper::Collection with postgres#slice with a negative range should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
211)
'DataMapper::Collection with postgres#[] with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
212)
'DataMapper::Collection with postgres#[] with a positive range should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
213)
'DataMapper::Collection with postgres#[] with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
214)
'DataMapper::Collection with postgres#[] with a negative range should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
215)
'DataMapper::Collection with postgres#slice! with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2187:
216)
'DataMapper::Collection with postgres#slice! with a positive range should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2215:
217)
'DataMapper::Collection with postgres#slice! with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2265:
218)
'DataMapper::Collection with postgres#slice! with a negative range should scope the Collection' FAILED
expected: [#<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2293:
219)
'DataMapper::Model with in_memory and mysql#copy between identical models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:101:
220)
PostgresError in 'DataMapper::Model with in_memory and postgres#copy between identical models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
221)
PostgresError in 'DataMapper::Model with in_memory and postgres#copy between different models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
222)
'DataMapper::Model with yaml and mysql#copy between identical models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:101:
223)
PostgresError in 'DataMapper::Model with yaml and postgres#copy between identical models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
224)
PostgresError in 'DataMapper::Model with yaml and postgres#copy between different models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
225)
'DataMapper::Model with mysql should be able to get the object' FAILED
expected: #<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>,
got: #<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true> (using ==)
spec/public/model_spec.rb:29:
226)
'DataMapper::Model with mysql should be able to get all the objects' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:33:
227)
'DataMapper::Model with mysql should be able to search for objects with equal value' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>] (using ==)
spec/public/model_spec.rb:37:
228)
'DataMapper::Model with mysql should be able to search for objects included in an array of values' FAILED
expected: [#<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>],
got: [#<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>] (using ==)
spec/public/model_spec.rb:41:
229)
'DataMapper::Model with mysql should be able to search for objects included in a range of values' FAILED
expected: [#<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>],
got: [#<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>] (using ==)
spec/public/model_spec.rb:45:
230)
'DataMapper::Model with mysql should be able to search for objects with nil value' FAILED
expected: [#<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:49:
231)
'DataMapper::Model with mysql should be able to search for objects with not equal value' FAILED
expected: [#<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:53:
232)
'DataMapper::Model with mysql should be able to search for objects with value less than or equal to' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>] (using ==)
spec/public/model_spec.rb:57:
233)
'DataMapper::Model with mysql should be able to order the objects ascending' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:61:
234)
'DataMapper::Model with mysql should be able to order the objects descending' FAILED
expected: [#<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>],
got: [#<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>, #<Heffalump @id=nil @color=nil @num_spots=nil @striped=nil>, #<Heffalump @id=nil @color=nil @num_spots=nil @striped=nil>] (using ==)
spec/public/model_spec.rb:65:
235)
TypeError in 'DataMapper::Model with mysql should be able to update an object'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:654:in `_update'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:543:in `save'
spec/public/model_spec.rb:70:
236)
TypeError in 'DataMapper::Model with mysql should be able to destroy an object'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:559:in `destroy'
spec/public/model_spec.rb:75:
237)
'DataMapper::Model with mysql and in_memory#copy between different models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:143:
238)
'DataMapper::Model with mysql and yaml#copy between different models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:143:
239)
'DataMapper::Model with mysql and mysql#copy between identical models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=0 @striped=nil>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=false>] (using ==)
spec/public/model_spec.rb:101:
240)
'DataMapper::Model with mysql and mysql#copy between different models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=0 @striped=nil>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=false>] (using ==)
spec/public/model_spec.rb:143:
241)
PostgresError in 'DataMapper::Model with mysql and postgres#copy between identical models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
242)
PostgresError in 'DataMapper::Model with mysql and postgres#copy between different models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
243)
PostgresError in 'DataMapper::Model with postgres should be able to search for objects with nil value'
(sql_state=42601) ERROR: syntax error at or near "$1"
Query: SELECT "id", "color", "num_spots", "striped" FROM "heffalumps" WHERE "num_spots" IS NULL ORDER BY "id"
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:84:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:226:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:77:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:143:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:919:in `initialize'
spec/public/model_spec.rb:49:
244)
'DataMapper::Model with postgres should be able to order the objects descending' FAILED
expected: [#<Heffalump @id=3 @color="Dark Blue" @num_spots=nil @striped=false>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>],
got: [#<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>, #<Heffalump @id=nil @color=nil @num_spots=nil @striped=nil>, #<Heffalump @id=nil @color=nil @num_spots=nil @striped=nil>] (using ==)
spec/public/model_spec.rb:65:
245)
'DataMapper::Model with postgres and mysql#copy between identical models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=0 @striped=nil>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=false>] (using ==)
spec/public/model_spec.rb:101:
246)
PostgresError in 'DataMapper::Model with postgres and postgres#copy between identical models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
247)
PostgresError in 'DataMapper::Model with postgres and postgres#copy between different models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
Finished in 203.405092 seconds
4509 examples, 247 failures, 181 pending
..............*....................*.................F..*FF..F..FFF..F.......*......................................**....**....**....**..........*.*.......*..........*.*.......*..........*F*..F..FF*..FF......*.*.....F.*....*..***....*..***FF.*F.*F*....*..***........................................................*****.....................................*....*....*....*.......................*.........................................................................................................****......................................................................................................................................................................................................................................................*...*..........................................................*****.....................................*....*....*....*.......................*.........................................................................................................****......................................................................................................................................................................................................................................................*...*..................................................F....F.F..F.F..F.......F....................F.....*....*....*....*FF.F..F................*.F.......F.......F..F.......F...........F.....FF.FFFFF..F.FFF....F.......F.......F..F.......F...F.F.****....................F..F................................F.....F.......FF.F.FF.F........F....F..........FF.F.FF.F........F....F......F.....F.F..F.F..FF..F.F..F.F...FF.....F....F....F.....F....F....F.....F....F....F.....F....F....F..F....F..F..*.F.*F...................................................................................................*....*....*....*.......................*.........................................................................................................****......................................................................F.FF.F.FF........F....F..........F.FF.F.FF........F....F..........FF........F....FFFF...................................................................................*...*..........................................................*****.................................*....*....*....*.......................*.........................................................................................................****......................................................................................................................................................................................................................................................*...*..........................................................*****.................................*....*....*....*.......................*.........................................................................................................****......................................................................................................................................................................................................................................................*...*..................................................F....F.F..F.F..F.....F..................F.....*....*....*....*FF.F..F................*.F.......F.......F..F.......F...........F.....FF.FFFFF..F.FFF....F.......F.......F..F.......F...F.F.****....................F..F................................F.....F..........F....F........F....F.............F....F........F....F......F.....F.F..F.F..FF..F.F..F.F...FF.....F....F....F.....F....F....F.....F....F....F.....F....F....F..F....F..F..*.F.*F...............................................................................................*....*....*....*.......................*.........................................................................................................****.........................................................................F....F........F....F.............F....F........F....F..............F....F........F....F......................................................................................*...*...................................F....FF.................................F....FF.FFFFFFFFFFFF........F.......F...F...FFF......F...F......................F....FF.**.*.............*.......**.......*....*.......*......*..**..**.**.*.............*.......**.......*....*.......*......*..**..**.**.*.............*.......**.....
Pending:
DataMapper::Associations#has 1 with in_memory mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has 1 with yaml mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has 1 with mysql mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has 1 with postgres mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has n..n through with in_memory when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with in_memory when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with yaml when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with yaml when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with mysql when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with mysql when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with postgres when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with postgres when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with in_memory mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with in_memory mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with in_memory mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with yaml mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with yaml mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with yaml mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with mysql mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with mysql mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with mysql mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with postgres mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with postgres mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with postgres mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to pending query specs with in_memory changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with in_memory changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with in_memory changing an existing resource through the relation should also change the foreign key (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:446
DataMapper::Associations#belongs_to pending query specs with in_memory changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Associations#belongs_to pending query specs with yaml changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with yaml changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with yaml changing an existing resource through the relation should also change the foreign key (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:446
DataMapper::Associations#belongs_to pending query specs with yaml changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Associations#belongs_to pending query specs with mysql changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with mysql changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with mysql changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Associations#belongs_to pending query specs with postgres changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with postgres changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with postgres changing an existing resource through the relation should also change the foreign key (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:446
DataMapper::Associations#belongs_to pending query specs with postgres changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Collection with in_memory#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with in_memory#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with in_memory#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with in_memory#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with in_memory#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with in_memory#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with yaml#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with yaml#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with yaml#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with yaml#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with yaml#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with yaml#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with mysql#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with mysql#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with mysql#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with mysql#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with mysql#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with mysql#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with postgres#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with postgres#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with postgres#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with postgres#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with postgres#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with postgres#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with in_memory#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with in_memory#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with in_memory#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with in_memory#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with in_memory#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with in_memory#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with yaml#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with yaml#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with yaml#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with yaml#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with yaml#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with yaml#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with mysql#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with mysql#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with mysql#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with mysql#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with mysql#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with mysql#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with postgres#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with postgres#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with postgres#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with postgres#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with postgres#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with postgres#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Property with in_memory#field returns field for specific repository when it is present (Not Yet Implemented)
spec/public/property_spec.rb:42
DataMapper::Property with in_memory#field sets field value using field naming convention on first reference (Not Yet Implemented)
spec/public/property_spec.rb:44
DataMapper::Property with in_memory#unique? is true for serial fields (TODO)
spec/public/property_spec.rb:53
DataMapper::Property with in_memory#key? returns true when property is a part of composite key (Not Yet Implemented)
spec/public/property_spec.rb:132
DataMapper::Property with in_memory#custom? is true for custom type fields (not provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:160
DataMapper::Property with in_memory#custom? is false for core type fields (provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:162
DataMapper::Property with in_memory#set triggers lazy loading for given resource (Not Yet Implemented)
spec/public/property_spec.rb:260
DataMapper::Property with in_memory#typecast when type is able to do typecasting on it's own delegates all the work to the type (Not Yet Implemented)
spec/public/property_spec.rb:297
DataMapper::Property with in_memory#typecast when type primitive is a BigDecimal casts the value to BigDecimal (Not Yet Implemented)
spec/public/property_spec.rb:346
DataMapper::Property with in_memory#typecast when type primitive is a Class looks up constant in Property namespace (Not Yet Implemented)
spec/public/property_spec.rb:430
DataMapper::Property with in_memory#value returns value for core types (Not Yet Implemented)
spec/public/property_spec.rb:445
DataMapper::Property with in_memory#value triggers dump operation for custom types (Not Yet Implemented)
spec/public/property_spec.rb:447
DataMapper::Property with in_memory#initialize when tracking strategy is explicitly given uses tracking strategy from options (Not Yet Implemented)
spec/public/property_spec.rb:466
DataMapper::Property with in_memory#initialize when custom type has tracking stragegy uses tracking strategy from type (Not Yet Implemented)
spec/public/property_spec.rb:470
DataMapper::Property with yaml#field returns field for specific repository when it is present (Not Yet Implemented)
spec/public/property_spec.rb:42
DataMapper::Property with yaml#field sets field value using field naming convention on first reference (Not Yet Implemented)
spec/public/property_spec.rb:44
DataMapper::Property with yaml#unique? is true for serial fields (TODO)
spec/public/property_spec.rb:53
DataMapper::Property with yaml#key? returns true when property is a part of composite key (Not Yet Implemented)
spec/public/property_spec.rb:132
DataMapper::Property with yaml#custom? is true for custom type fields (not provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:160
DataMapper::Property with yaml#custom? is false for core type fields (provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:162
DataMapper::Property with yaml#set triggers lazy loading for given resource (Not Yet Implemented)
spec/public/property_spec.rb:260
DataMapper::Property with yaml#typecast when type is able to do typecasting on it's own delegates all the work to the type (Not Yet Implemented)
spec/public/property_spec.rb:297
DataMapper::Property with yaml#typecast when type primitive is a BigDecimal casts the value to BigDecimal (Not Yet Implemented)
spec/public/property_spec.rb:346
DataMapper::Property with yaml#typecast when type primitive is a Class looks up constant in Property namespace (Not Yet Implemented)
spec/public/property_spec.rb:430
DataMapper::Property with yaml#value returns value for core types (Not Yet Implemented)
spec/public/property_spec.rb:445
DataMapper::Property with yaml#value triggers dump operation for custom types (Not Yet Implemented)
spec/public/property_spec.rb:447
DataMapper::Property with yaml#initialize when tracking strategy is explicitly given uses tracking strategy from options (Not Yet Implemented)
spec/public/property_spec.rb:466
DataMapper::Property with yaml#initialize when custom type has tracking stragegy uses tracking strategy from type (Not Yet Implemented)
spec/public/property_spec.rb:470
DataMapper::Property with mysql#field returns field for specific repository when it is present (Not Yet Implemented)
spec/public/property_spec.rb:42
DataMapper::Property with mysql#field sets field value using field naming convention on first reference (Not Yet Implemented)
spec/public/property_spec.rb:44
DataMapper::Property with mysql#unique? is true for serial fields (TODO)
spec/public/property_spec.rb:53
DataMapper::Property with mysql#key? returns true when property is a part of composite key (Not Yet Implemented)
spec/public/property_spec.rb:132
DataMapper::Property with mysql#custom? is true for custom type fields (not provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:160
DataMapper::Property with mysql#custom? is false for core type fields (provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:162
DataMapper::Associations#has 1 with in_memory mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has 1 with yaml mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has 1 with mysql mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has 1 with postgres mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#has n..n through with in_memory when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with in_memory when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with yaml when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with yaml when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with mysql when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with mysql when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with postgres when there is a child resource should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#has n..n through with postgres when there is a child resource should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with in_memory mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with in_memory mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with in_memory mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with yaml mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with yaml mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with yaml mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with mysql mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with mysql mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with mysql mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with postgres mutator when setting an associated resource should relate associated Resource (TODO)
spec/public/associations_spec.rb:84
DataMapper::Associations#belongs_to with postgres mutator when setting an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to with postgres mutator when changing an associated resource should persist the associated Resource (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:5:in `pending_if'
DataMapper::Associations#belongs_to pending query specs with in_memory changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with in_memory changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with in_memory changing an existing resource through the relation should also change the foreign key (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:446
DataMapper::Associations#belongs_to pending query specs with in_memory changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Associations#belongs_to pending query specs with yaml changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with yaml changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with yaml changing an existing resource through the relation should also change the foreign key (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:446
DataMapper::Associations#belongs_to pending query specs with yaml changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Associations#belongs_to pending query specs with mysql changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with mysql changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with mysql changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Associations#belongs_to pending query specs with postgres changing the parent resource should add the engine object to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:399
DataMapper::Associations#belongs_to pending query specs with postgres changing an existing resource through the relation should add the engine to the car (Changing a belongs_to parent should add the object to the correct association)
spec/public/associations_spec.rb:431
DataMapper::Associations#belongs_to pending query specs with postgres changing an existing resource through the relation should also change the foreign key (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:446
DataMapper::Associations#belongs_to pending query specs with postgres changing an existing resource through the relation should add the engine to the car (a change to the foreign key should also change the related object)
spec/public/associations_spec.rb:452
DataMapper::Collection with in_memory#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with in_memory#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with in_memory#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with in_memory#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with in_memory#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with in_memory#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with yaml#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with yaml#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with yaml#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with yaml#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with yaml#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with yaml#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with mysql#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with mysql#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with mysql#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with mysql#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with mysql#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with mysql#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with postgres#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with postgres#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with postgres#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with postgres#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with postgres#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with postgres#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with in_memory#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with in_memory#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with in_memory#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with in_memory#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with in_memory#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with in_memory#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with in_memory#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with in_memory#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with yaml#all with a query using raw conditions should return a Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return a new Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should return expected Resources (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should have a different query than original Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#all with a query using raw conditions should scope the Collection (TODO)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:114
DataMapper::Collection with yaml#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with yaml#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with yaml#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with yaml#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with yaml#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with yaml#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with yaml#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with mysql#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with mysql#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with mysql#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with mysql#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with mysql#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with mysql#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with mysql#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Collection with postgres#create when scoped to a property should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:388
DataMapper::Collection with postgres#create when scoped to the key should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:418
DataMapper::Collection with postgres#create when scoped to a property with multiple values should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:448
DataMapper::Collection with postgres#create when scoped with a condition other than eql should not append a Resource if create fails (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:478
DataMapper::Collection with postgres#destroy! should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:667
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should return expected Collection (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1441
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :id loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :title not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#method_missing with a has relationship method with arguments should have query field :content not loaded (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1448
DataMapper::Collection with postgres#update! with attributes should bypass validation (TODO: not sure how to best spec this)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2714
DataMapper::Collection with postgres#update! with attributes where one is a parent association should update attributes of all Resources (TODO: fix)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2741
DataMapper::Property with in_memory#field returns field for specific repository when it is present (Not Yet Implemented)
spec/public/property_spec.rb:42
DataMapper::Property with in_memory#field sets field value using field naming convention on first reference (Not Yet Implemented)
spec/public/property_spec.rb:44
DataMapper::Property with in_memory#unique? is true for serial fields (TODO)
spec/public/property_spec.rb:53
DataMapper::Property with in_memory#key? returns true when property is a part of composite key (Not Yet Implemented)
spec/public/property_spec.rb:132
DataMapper::Property with in_memory#custom? is true for custom type fields (not provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:160
DataMapper::Property with in_memory#custom? is false for core type fields (provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:162
DataMapper::Property with in_memory#set triggers lazy loading for given resource (Not Yet Implemented)
spec/public/property_spec.rb:260
DataMapper::Property with in_memory#typecast when type is able to do typecasting on it's own delegates all the work to the type (Not Yet Implemented)
spec/public/property_spec.rb:297
DataMapper::Property with in_memory#typecast when type primitive is a BigDecimal casts the value to BigDecimal (Not Yet Implemented)
spec/public/property_spec.rb:346
DataMapper::Property with in_memory#typecast when type primitive is a Class looks up constant in Property namespace (Not Yet Implemented)
spec/public/property_spec.rb:430
DataMapper::Property with in_memory#value returns value for core types (Not Yet Implemented)
spec/public/property_spec.rb:445
DataMapper::Property with in_memory#value triggers dump operation for custom types (Not Yet Implemented)
spec/public/property_spec.rb:447
DataMapper::Property with in_memory#initialize when tracking strategy is explicitly given uses tracking strategy from options (Not Yet Implemented)
spec/public/property_spec.rb:466
DataMapper::Property with in_memory#initialize when custom type has tracking stragegy uses tracking strategy from type (Not Yet Implemented)
spec/public/property_spec.rb:470
DataMapper::Property with yaml#field returns field for specific repository when it is present (Not Yet Implemented)
spec/public/property_spec.rb:42
DataMapper::Property with yaml#field sets field value using field naming convention on first reference (Not Yet Implemented)
spec/public/property_spec.rb:44
DataMapper::Property with yaml#unique? is true for serial fields (TODO)
spec/public/property_spec.rb:53
DataMapper::Property with yaml#key? returns true when property is a part of composite key (Not Yet Implemented)
spec/public/property_spec.rb:132
DataMapper::Property with yaml#custom? is true for custom type fields (not provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:160
DataMapper::Property with yaml#custom? is false for core type fields (provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:162
DataMapper::Property with yaml#set triggers lazy loading for given resource (Not Yet Implemented)
spec/public/property_spec.rb:260
DataMapper::Property with yaml#typecast when type is able to do typecasting on it's own delegates all the work to the type (Not Yet Implemented)
spec/public/property_spec.rb:297
DataMapper::Property with yaml#typecast when type primitive is a BigDecimal casts the value to BigDecimal (Not Yet Implemented)
spec/public/property_spec.rb:346
DataMapper::Property with yaml#typecast when type primitive is a Class looks up constant in Property namespace (Not Yet Implemented)
spec/public/property_spec.rb:430
DataMapper::Property with yaml#value returns value for core types (Not Yet Implemented)
spec/public/property_spec.rb:445
DataMapper::Property with yaml#value triggers dump operation for custom types (Not Yet Implemented)
spec/public/property_spec.rb:447
DataMapper::Property with yaml#initialize when tracking strategy is explicitly given uses tracking strategy from options (Not Yet Implemented)
spec/public/property_spec.rb:466
DataMapper::Property with yaml#initialize when custom type has tracking stragegy uses tracking strategy from type (Not Yet Implemented)
spec/public/property_spec.rb:470
DataMapper::Property with mysql#field returns field for specific repository when it is present (Not Yet Implemented)
spec/public/property_spec.rb:42
DataMapper::Property with mysql#field sets field value using field naming convention on first reference (Not Yet Implemented)
spec/public/property_spec.rb:44
DataMapper::Property with mysql#unique? is true for serial fields (TODO)
spec/public/property_spec.rb:53
DataMapper::Property with mysql#key? returns true when property is a part of composite key (Not Yet Implemented)
spec/public/property_spec.rb:132
DataMapper::Property with mysql#custom? is true for custom type fields (not provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:160
DataMapper::Property with mysql#custom? is false for core type fields (provided by dm-core) (Not Yet Implemented)
spec/public/property_spec.rb:162
1)
'DataMapper::Associations#has 1 with mysql accessor when there is an associated resource with a query should return the expected Resource' FAILED
expected: #<Engine @id=nil @car_id=nil>,
got: #<Engine @id=1 @car_id=nil> (using ==)
spec/public/associations_spec.rb:59:
:1
2)
TypeError in 'DataMapper::Associations#has 1 with mysql mutator when setting an associated resource should persist the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:91:
:1
3)
'DataMapper::Associations#has 1 with mysql mutator when setting an associated resource should persist the associated Resource' FAILED
expected: #<Car @id=nil>,
got: nil (using ==)
spec/public/associations_spec.rb:98:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
spec/public/associations_spec.rb:95:
:1
4)
TypeError in 'DataMapper::Associations#has 1 with mysql mutator when setting a nil resource should persist as nil'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:120:
:1
5)
'DataMapper::Associations#has 1 with mysql mutator when changing an associated resource should relate associated Resource' FAILED
expected: #<Car @id=nil>,
got: #<Car @id=1> (using ==)
spec/public/associations_spec.rb:142:
:1
6)
TypeError in 'DataMapper::Associations#has 1 with mysql mutator when changing an associated resource should persist the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:147:
:1
7)
'DataMapper::Associations#has 1 with mysql mutator when changing an associated resource should persist the associated Resource' FAILED
expected: #<Car @id=nil>,
got: #<Car @id=1> (using ==)
spec/public/associations_spec.rb:154:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
spec/public/associations_spec.rb:151:
:1
8)
PostgresError in 'DataMapper::Associations#has 1 with postgres accessor when there is no associated resource without a query before(:all)'
(sql_state=42601) ERROR: syntax error at or near "$1"
Query: SELECT "id", "car_id" FROM "engines" WHERE "car_id" IS NULL ORDER BY "id" LIMIT 1
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:84:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:226:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:77:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:143:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:214:in `first'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_one.rb:14:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_many.rb:105:in `engine'
spec/public/associations_spec.rb:8:
:1
9)
TypeError in 'DataMapper::Associations#belongs_to with mysql mutator when setting an associated resource should persist the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:91:
:1
10)
TypeError in 'DataMapper::Associations#belongs_to with mysql mutator when setting a nil resource should persist as nil'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:120:
:1
11)
'DataMapper::Associations#belongs_to with mysql mutator when changing an associated resource should relate associated Resource' FAILED
expected: #<Car @id=nil @engine_id=nil>,
got: #<Car @id=1 @engine_id=0> (using ==)
spec/public/associations_spec.rb:142:
:1
12)
TypeError in 'DataMapper::Associations#belongs_to with mysql mutator when changing an associated resource should persist the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:381:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:413:in `reload_attributes'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:394:in `reload'
spec/public/associations_spec.rb:147:
:1
13)
PostgresError in 'DataMapper::Associations#belongs_to with postgres accessor when there is no associated resource without a query before(:all)'
(sql_state=42601) ERROR: syntax error at or near "$1"
Query: SELECT "id" FROM "engines" WHERE "id" IS NULL
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:84:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:226:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:77:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:143:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:419:in `first'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:140:in `lazy_load'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:43:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:113:in `engine'
spec/public/associations_spec.rb:8:
:1
14)
PostgresError in 'DataMapper::Associations#belongs_to with postgres accessor when there is no associated resource with a query before(:all)'
(sql_state=42601) ERROR: syntax error at or near "$1"
Query: SELECT "id" FROM "engines" WHERE "id" IS NULL
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:84:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:226:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:77:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:143:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:419:in `first'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:140:in `lazy_load'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:43:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:113:in `engine'
spec/public/associations_spec.rb:20:
:1
15)
PostgresError in 'DataMapper::Associations#belongs_to with postgres mutator when changing an associated resource should relate associated Resource'
(sql_state=42601) ERROR: syntax error at or near "$1"
Query: SELECT "id", "engine_id" FROM "cars" WHERE "engine_id" IS NULL ORDER BY "id" LIMIT 1
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:84:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:226:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:77:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:143:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:214:in `first'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_one.rb:14:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_many.rb:105:in `car'
spec/public/associations_spec.rb:142:
:1
16)
TypeError in 'DataMapper::Associations#belongs_to pending query specs with mysql querying for a parent resource before(:all)'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:54:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_many.rb:105:in `car'
spec/public/associations_spec.rb:363:
:1
17)
TypeError in 'DataMapper::Associations#belongs_to pending query specs with mysql querying for a parent resource that does not exist before(:all)'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/many_to_one.rb:54:in `get'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/associations/one_to_many.rb:105:in `car'
spec/public/associations_spec.rb:379:
:1
18)
'DataMapper::Associations#belongs_to pending query specs with mysql changing the parent foreign key should set the associated resource' FAILED
expected #<Car @id=nil>, got #<Car @id=1> (using .eql?)
spec/public/associations_spec.rb:414:
:1
19)
'DataMapper::Associations#belongs_to pending query specs with mysql changing an existing resource through the relation should also change the foreign key' FIXED
Expected pending 'a change to the foreign key should also change the related object' to fail. No Error was raised.
spec/public/associations_spec.rb:446:
:1
20)
'DataMapper::Collection with mysql#all with no arguments should be expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:66:
:1
21)
'DataMapper::Collection with mysql#all with a query should return expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:98:
:1
22)
'DataMapper::Collection with mysql#all with a query should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:107:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:106:
:1
23)
'DataMapper::Collection with mysql#all with a query using raw conditions should return expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:139:
:1
24)
'DataMapper::Collection with mysql#all with a query using raw conditions should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content="New Article" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:152:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:150:
:1
25)
'DataMapper::Collection with mysql#at with positive offset should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:184:
:1
26)
'DataMapper::Collection with mysql#at with negative offset should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:232:
:1
27)
'DataMapper::Collection with mysql#concat should concatenate the two collections' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>, #<Article @id=nil @title="Other Article" @content="Other" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:349:
:1
28)
'DataMapper::Collection with mysql#delete with a Resource within the Collection should return a DataMapper::Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:496:
:1
29)
NoMethodError in 'DataMapper::Collection with mysql#delete with a Resource within the Collection should be the expected Resource'
undefined method `key' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:502:
:1
30)
NoMethodError in 'DataMapper::Collection with mysql#delete with a Resource within the Collection should orphan the Resource'
undefined method `collection' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:510:
:1
31)
'DataMapper::Collection with mysql#delete_at with an offset within the Collection should be the expected Resource' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:542:
:1
32)
'DataMapper::Collection with mysql#first with no arguments should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:693:
:1
33)
'DataMapper::Collection with mysql#first with empty query should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:737:
:1
34)
'DataMapper::Collection with mysql#first with a query should should be the first Resource in the Collection matching the query' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:781:
:1
35)
'DataMapper::Collection with mysql#first with limit specified should be the expected Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:799:
:1
36)
'DataMapper::Collection with mysql#first with limit and query specified should be the first N Resources in the Collection matching the query' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:849:
:1
37)
'DataMapper::Collection with mysql#first_or_new with conditions that find an existing Resource should be a saved Resource' FAILED
expected saved? to return true, got false
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:935:
:1
38)
'DataMapper::Collection with mysql#get with a key to a Resource within the Collection should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:981:
:1
39)
'DataMapper::Collection with mysql#get with a key to a Resource within the Collection should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:985:
:1
40)
NoMethodError in 'DataMapper::Collection with mysql#get with a key not typecast before(:all)'
undefined method `map' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1001:
:1
41)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using a limit should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1020:
:1
42)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using a limit should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1024:
:1
43)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using an offset should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1036:
:1
44)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using an offset should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1040:
:1
45)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within the Collection before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1077:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1076:
:1
46)
NoMethodError in 'DataMapper::Collection with mysql#get! with a key not typecast before(:all)'
undefined method `map' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1101:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1100:
:1
47)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within a Collection using a limit before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1118:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1116:
:1
48)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within a Collection using an offset before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1136:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1133:
:1
49)
'DataMapper::Collection with mysql#insert should insert one or more Resources at a given offset' FAILED
expected: [#<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1195:
:1
50)
'DataMapper::Collection with mysql#last with no arguments should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1247:
:1
51)
'DataMapper::Collection with mysql#last with a query should should be the last Resource in the Collection matching the query' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1291:
:1
52)
'DataMapper::Collection with mysql#last with limit specified should be the expected Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1309:
:1
53)
'DataMapper::Collection with mysql#last with limit and query specified should be the last N Resources in the Collection matching the query' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1359:
:1
54)
'DataMapper::Collection with mysql#method_missing with a belongs_to relationship method should return expected Collection' FAILED
expected: [#<Article @id=nil @title="Original Article" @content=nil @original_id=nil>],
got: [] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1405:
:1
55)
'DataMapper::Collection with mysql#method_missing with a has relationship method with no arguments should return expected Collection' FAILED
expected: [#<Article @id=nil @title="Other Article" @content="Other" @original_id=nil>],
got: [] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1426:
:1
56)
TypeError in 'DataMapper::Collection with mysql#pop should orphan the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1587:
:1
57)
'DataMapper::Collection with mysql#push should append the Resources to the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>, #<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1612:
:1
58)
'DataMapper::Collection with mysql#reverse should return a Collection with reversed entries' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content=nil @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=nil @title="Sample Article" @content=nil @original_id=nil>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1826:
:1
59)
'DataMapper::Collection with mysql#shift should be the first Resource in the Collection' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1890:
:1
60)
'DataMapper::Collection with mysql#slice with a positive offset and length should return the expected Resource' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1952:
:1
61)
'DataMapper::Collection with mysql#slice with a positive offset and length should not remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] to include #<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1956:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1956:
:1
62)
'DataMapper::Collection with mysql#slice with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
:1
63)
'DataMapper::Collection with mysql#slice with a positive range should return the expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1982:
:1
64)
'DataMapper::Collection with mysql#slice with a positive range should not remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] to include #<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1986:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1986:
:1
65)
'DataMapper::Collection with mysql#slice with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
:1
66)
'DataMapper::Collection with mysql#slice with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
:1
67)
'DataMapper::Collection with mysql#slice with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
:1
68)
'DataMapper::Collection with mysql#[] with a positive offset and length should return the expected Resource' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1952:
:1
69)
'DataMapper::Collection with mysql#[] with a positive offset and length should not remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] to include #<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1956:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1956:
:1
70)
'DataMapper::Collection with mysql#[] with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
:1
71)
'DataMapper::Collection with mysql#[] with a positive range should return the expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1982:
:1
72)
'DataMapper::Collection with mysql#[] with a positive range should not remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] to include #<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1986:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1986:
:1
73)
'DataMapper::Collection with mysql#[] with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
:1
74)
'DataMapper::Collection with mysql#[] with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
:1
75)
'DataMapper::Collection with mysql#[] with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
:1
76)
'DataMapper::Collection with mysql#slice! with a positive offset should return expected Resource' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2147:
:1
77)
'DataMapper::Collection with mysql#slice! with a positive offset and length should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2179:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2179:
:1
78)
'DataMapper::Collection with mysql#slice! with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2187:
:1
79)
'DataMapper::Collection with mysql#slice! with a positive range should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2207:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2207:
:1
80)
'DataMapper::Collection with mysql#slice! with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2215:
:1
81)
'DataMapper::Collection with mysql#slice! with a negative offset should remove the Resource from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2233:
:1
82)
TypeError in 'DataMapper::Collection with mysql#slice! with a negative offset should orphan the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2237:
:1
83)
'DataMapper::Collection with mysql#slice! with a negative offset and length should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2257:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2257:
:1
84)
'DataMapper::Collection with mysql#slice! with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2265:
:1
85)
'DataMapper::Collection with mysql#slice! with a negative range should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2285:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2285:
:1
86)
'DataMapper::Collection with mysql#slice! with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2293:
:1
87)
ArgumentError in 'DataMapper::Collection with mysql#sort! without a block before(:all)'
comparison of Article with Article failed
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2337:
:1
88)
NoMethodError in 'DataMapper::Collection with mysql#sort! with a block before(:all)'
undefined method `<=>' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2355:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2355:
:1
89)
TypeError in 'DataMapper::Collection with mysql#splice with a positive offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2424:
:1
90)
TypeError in 'DataMapper::Collection with mysql#splice with a positive offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2455:
:1
91)
TypeError in 'DataMapper::Collection with mysql#splice with a positive range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
:1
92)
TypeError in 'DataMapper::Collection with mysql#splice with a negative offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2521:
:1
93)
TypeError in 'DataMapper::Collection with mysql#splice with a negative offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2552:
:1
94)
TypeError in 'DataMapper::Collection with mysql#splice with a negative range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
:1
95)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2424:
:1
96)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2455:
:1
97)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
:1
98)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2521:
:1
99)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2552:
:1
100)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
:1
101)
'DataMapper::Collection with mysql#unshift should prepend the Resources to the Collection' FAILED
expected: [#<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2610:
:1
102)
NoMethodError in 'DataMapper::Collection with mysql#update with attributes should persist the changes'
undefined method `title' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:
:1
103)
NoMethodError in 'DataMapper::Collection with mysql#update with attributes where one is a parent association should persist the changes'
undefined method `original' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:
:1
104)
NoMethodError in 'DataMapper::Collection with mysql#update! with attributes should persist the changes'
undefined method `title' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:
:1
105)
NoMethodError in 'DataMapper::Collection with mysql#update! with attributes where one is a parent association should persist the changes'
undefined method `original' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:
:1
106)
'DataMapper::Collection with postgres#slice with a positive offset and length should return the expected Resource' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1952:
:1
107)
'DataMapper::Collection with postgres#slice with a positive offset and length should orphan the Resources' FAILED
expected equal?([#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=1>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=5 @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=6 @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=7 @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>]) to return false, got true
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1960:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1960:
:1
108)
'DataMapper::Collection with postgres#slice with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
:1
109)
'DataMapper::Collection with postgres#slice with a positive range should return the expected Resources' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1982:
:1
110)
'DataMapper::Collection with postgres#slice with a positive range should orphan the Resources' FAILED
expected equal?([#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=1>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=5 @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=6 @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=7 @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>]) to return false, got true
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1990:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1990:
:1
111)
'DataMapper::Collection with postgres#slice with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
:1
112)
'DataMapper::Collection with postgres#slice with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
:1
113)
'DataMapper::Collection with postgres#slice with a negative range should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
:1
114)
'DataMapper::Collection with postgres#[] with a positive offset and length should return the expected Resource' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1952:
:1
115)
'DataMapper::Collection with postgres#[] with a positive offset and length should orphan the Resources' FAILED
expected equal?([#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=1>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=5 @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=6 @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=7 @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>]) to return false, got true
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1960:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1960:
:1
116)
'DataMapper::Collection with postgres#[] with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
:1
117)
'DataMapper::Collection with postgres#[] with a positive range should return the expected Resources' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1982:
:1
118)
'DataMapper::Collection with postgres#[] with a positive range should orphan the Resources' FAILED
expected equal?([#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=1>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=5 @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=6 @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=7 @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>]) to return false, got true
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1990:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1990:
:1
119)
'DataMapper::Collection with postgres#[] with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=4 @title="Sample Article" @content="Article 1" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
:1
120)
'DataMapper::Collection with postgres#[] with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
:1
121)
'DataMapper::Collection with postgres#[] with a negative range should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
:1
122)
TypeError in 'DataMapper::Collection with postgres#slice! with a positive offset and length before(:all)'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1050:in `orphan_resource'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `orphan_resources'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `each'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `orphan_resources'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:357:in `slice!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2166:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2165:
:1
123)
TypeError in 'DataMapper::Collection with postgres#slice! with a positive range before(:all)'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1050:in `orphan_resource'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `orphan_resources'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `each'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:1071:in `orphan_resources'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:357:in `slice!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2194:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2193:
:1
124)
'DataMapper::Collection with postgres#slice! with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2265:
:1
125)
'DataMapper::Collection with postgres#slice! with a negative range should scope the Collection' FAILED
expected: [#<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2293:
:1
126)
'DataMapper::Collection with postgres#slice! with an offset not within the Collection should return nil' FAILED
expected nil? to return true, got false
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2303:
:1
127)
'DataMapper::Collection with postgres#slice! with an offset and length not within the Collection should return nil' FAILED
expected nil? to return true, got false
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2313:
:1
128)
'DataMapper::Collection with postgres#slice! with a range not within the Collection should return nil' FAILED
expected nil? to return true, got false
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2323:
:1
129)
'DataMapper::Collection with mysql#all with no arguments should be expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:66:
:1
130)
'DataMapper::Collection with mysql#all with a query should return expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:98:
:1
131)
'DataMapper::Collection with mysql#all with a query should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:107:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:106:
:1
132)
'DataMapper::Collection with mysql#all with a query using raw conditions should return expected Resources' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:139:
:1
133)
'DataMapper::Collection with mysql#all with a query using raw conditions should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>],
got: [#<Article @id=4 @title="Sample Article" @content="New Article" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:152:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:7:in `pending_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:150:
:1
134)
'DataMapper::Collection with mysql#at with positive offset should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:184:
:1
135)
'DataMapper::Collection with mysql#at with negative offset should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:232:
:1
136)
'DataMapper::Collection with mysql#concat should concatenate the two collections' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>, #<Article @id=nil @title="Other Article" @content="Other" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:349:
:1
137)
'DataMapper::Collection with mysql#delete with a Resource within the Collection should return a DataMapper::Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:496:
:1
138)
NoMethodError in 'DataMapper::Collection with mysql#delete with a Resource within the Collection should be the expected Resource'
undefined method `key' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:502:
:1
139)
NoMethodError in 'DataMapper::Collection with mysql#delete with a Resource within the Collection should orphan the Resource'
undefined method `collection' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:510:
:1
140)
'DataMapper::Collection with mysql#delete_at with an offset within the Collection should be the expected Resource' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:542:
:1
141)
'DataMapper::Collection with mysql#first with no arguments should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:693:
:1
142)
'DataMapper::Collection with mysql#first with empty query should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:737:
:1
143)
'DataMapper::Collection with mysql#first with a query should should be the first Resource in the Collection matching the query' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:781:
:1
144)
'DataMapper::Collection with mysql#first with limit specified should be the expected Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:799:
:1
145)
'DataMapper::Collection with mysql#first with limit and query specified should be the first N Resources in the Collection matching the query' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:849:
:1
146)
'DataMapper::Collection with mysql#first_or_new with conditions that find an existing Resource should be a saved Resource' FAILED
expected saved? to return true, got false
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:935:
:1
147)
'DataMapper::Collection with mysql#get with a key to a Resource within the Collection should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:981:
:1
148)
'DataMapper::Collection with mysql#get with a key to a Resource within the Collection should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:985:
:1
149)
NoMethodError in 'DataMapper::Collection with mysql#get with a key not typecast before(:all)'
undefined method `map' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1001:
:1
150)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using a limit should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1020:
:1
151)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using a limit should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1024:
:1
152)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using an offset should return a Resource' FAILED
expected kind of DataMapper::Resource, got nil
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1036:
:1
153)
'DataMapper::Collection with mysql#get with a key to a Resource within a Collection using an offset should be matching Resource in the Collection' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="New Article" @original_id=nil>,
got: nil (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1040:
:1
154)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within the Collection before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1077:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1076:
:1
155)
NoMethodError in 'DataMapper::Collection with mysql#get! with a key not typecast before(:all)'
undefined method `map' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1101:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1100:
:1
156)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within a Collection using a limit before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1118:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1116:
:1
157)
DataMapper::ObjectNotFoundError in 'DataMapper::Collection with mysql#get! with a key to a Resource within a Collection using an offset before(:all)'
Could not find Article with key [nil] in collection
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:145:in `get!'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1136:
/Users/alexbcoles/git-repos/dm-core/spec/lib/pending_helpers.rb:24:in `rescue_if'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1133:
:1
158)
'DataMapper::Collection with mysql#insert should insert one or more Resources at a given offset' FAILED
expected: [#<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=3 @title="Other Article" @content=<not loaded> @original_id=0>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1195:
:1
159)
'DataMapper::Collection with mysql#last with no arguments should return expected Resource' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1247:
:1
160)
'DataMapper::Collection with mysql#last with a query should should be the last Resource in the Collection matching the query' FAILED
expected: #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>,
got: #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0> (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1291:
:1
161)
'DataMapper::Collection with mysql#last with limit specified should be the expected Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1309:
:1
162)
'DataMapper::Collection with mysql#last with limit and query specified should be the last N Resources in the Collection matching the query' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1359:
:1
163)
'DataMapper::Collection with mysql#method_missing with a belongs_to relationship method should return expected Collection' FAILED
expected: [#<Article @id=nil @title="Original Article" @content=nil @original_id=nil>],
got: [] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1405:
:1
164)
'DataMapper::Collection with mysql#method_missing with a has relationship method with no arguments should return expected Collection' FAILED
expected: [#<Article @id=nil @title="Other Article" @content="Other" @original_id=nil>],
got: [] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1426:
:1
165)
TypeError in 'DataMapper::Collection with mysql#pop should orphan the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1587:
:1
166)
'DataMapper::Collection with mysql#push should append the Resources to the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>, #<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>],
got: [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1612:
:1
167)
'DataMapper::Collection with mysql#reverse should return a Collection with reversed entries' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content=nil @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=nil @title="Sample Article" @content=nil @original_id=nil>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1826:
:1
168)
'DataMapper::Collection with mysql#shift should be the first Resource in the Collection' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1890:
:1
169)
'DataMapper::Collection with mysql#slice with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
:1
170)
'DataMapper::Collection with mysql#slice with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
:1
171)
'DataMapper::Collection with mysql#slice with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
:1
172)
'DataMapper::Collection with mysql#slice with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
:1
173)
'DataMapper::Collection with mysql#[] with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
:1
174)
'DataMapper::Collection with mysql#[] with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
:1
175)
'DataMapper::Collection with mysql#[] with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
:1
176)
'DataMapper::Collection with mysql#[] with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
:1
177)
'DataMapper::Collection with mysql#slice! with a positive offset should return expected Resource' FAILED
expected: nil,
got: [2] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2147:
:1
178)
'DataMapper::Collection with mysql#slice! with a positive offset and length should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2179:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2179:
:1
179)
'DataMapper::Collection with mysql#slice! with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2187:
:1
180)
'DataMapper::Collection with mysql#slice! with a positive range should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2207:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2207:
:1
181)
'DataMapper::Collection with mysql#slice! with a positive range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2215:
:1
182)
'DataMapper::Collection with mysql#slice! with a negative offset should remove the Resource from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2233:
:1
183)
TypeError in 'DataMapper::Collection with mysql#slice! with a negative offset should orphan the Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2237:
:1
184)
'DataMapper::Collection with mysql#slice! with a negative offset and length should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2257:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2257:
:1
185)
'DataMapper::Collection with mysql#slice! with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2265:
:1
186)
'DataMapper::Collection with mysql#slice! with a negative range should remove the Resources from the Collection' FAILED
expected [#<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>, #<Article @id=nil @title="Sample Article" @content="Article 1" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 2" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 3" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 4" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 5" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 10" @original_id=nil>] not to include #<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2285:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2285:
:1
187)
'DataMapper::Collection with mysql#slice! with a negative range should scope the Collection' FAILED
expected: [#<Article @id=nil @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2293:
:1
188)
ArgumentError in 'DataMapper::Collection with mysql#sort! without a block before(:all)'
comparison of Article with Article failed
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2337:
:1
189)
NoMethodError in 'DataMapper::Collection with mysql#sort! with a block before(:all)'
undefined method `<=>' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2355:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2355:
:1
190)
TypeError in 'DataMapper::Collection with mysql#splice with a positive offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2424:
:1
191)
TypeError in 'DataMapper::Collection with mysql#splice with a positive offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2455:
:1
192)
TypeError in 'DataMapper::Collection with mysql#splice with a positive range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
:1
193)
TypeError in 'DataMapper::Collection with mysql#splice with a negative offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2521:
:1
194)
TypeError in 'DataMapper::Collection with mysql#splice with a negative offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2552:
:1
195)
TypeError in 'DataMapper::Collection with mysql#splice with a negative range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
:1
196)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2424:
:1
197)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2455:
:1
198)
TypeError in 'DataMapper::Collection with mysql#[]= with a positive range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2486:
:1
199)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative offset and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2521:
:1
200)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative offset and length and a Resource should orphan the original Resource'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2552:
:1
201)
TypeError in 'DataMapper::Collection with mysql#[]= with a negative range and a Resource should orphan the original Resources'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:380:in `collection'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2583:
:1
202)
'DataMapper::Collection with mysql#unshift should prepend the Resources to the Collection' FAILED
expected: [#<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>, #<Article @id=nil @title="Sample Article" @content="Sample" @original_id=nil>],
got: [#<Article @id=nil @title="Title 1" @content=nil @original_id=nil>, #<Article @id=nil @title="Title 2" @content=nil @original_id=nil>, #<Article @id=2 @title="Sample Article" @content=<not loaded> @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2610:
:1
203)
NoMethodError in 'DataMapper::Collection with mysql#update with attributes should persist the changes'
undefined method `title' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2655:
:1
204)
NoMethodError in 'DataMapper::Collection with mysql#update with attributes where one is a parent association should persist the changes'
undefined method `original' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2677:
:1
205)
NoMethodError in 'DataMapper::Collection with mysql#update! with attributes should persist the changes'
undefined method `title' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2723:
:1
206)
NoMethodError in 'DataMapper::Collection with mysql#update! with attributes where one is a parent association should persist the changes'
undefined method `original' for nil:NilClass
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:in `each'
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2747:
:1
207)
'DataMapper::Collection with postgres#slice with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
:1
208)
'DataMapper::Collection with postgres#slice with a positive range should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
:1
209)
'DataMapper::Collection with postgres#slice with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
:1
210)
'DataMapper::Collection with postgres#slice with a negative range should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
:1
211)
'DataMapper::Collection with postgres#[] with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1964:
:1
212)
'DataMapper::Collection with postgres#[] with a positive range should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:1994:
:1
213)
'DataMapper::Collection with postgres#[] with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2050:
:1
214)
'DataMapper::Collection with postgres#[] with a negative range should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2080:
:1
215)
'DataMapper::Collection with postgres#slice! with a positive offset and length should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2187:
:1
216)
'DataMapper::Collection with postgres#slice! with a positive range should scope the Collection' FAILED
expected: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=nil>],
got: [#<Article @id=8 @title="Sample Article" @content="Article 5" @original_id=0>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2215:
:1
217)
'DataMapper::Collection with postgres#slice! with a negative offset and length should scope the Collection' FAILED
expected: [#<Article @id=9 @title="Sample Article" @content="Article 6" @original_id=nil>, #<Article @id=10 @title="Sample Article" @content="Article 7" @original_id=nil>, #<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=13 @title="Sample Article" @content="Article 10" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2265:
:1
218)
'DataMapper::Collection with postgres#slice! with a negative range should scope the Collection' FAILED
expected: [#<Article @id=11 @title="Sample Article" @content="Article 8" @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>],
got: [#<Article @id=nil @title=nil @content=<not loaded> @original_id=nil>, #<Article @id=12 @title="Sample Article" @content="Article 9" @original_id=0>] (using ==)
/Users/alexbcoles/git-repos/dm-core/spec/public/shared/collection_shared_spec.rb:2293:
:1
219)
'DataMapper::Model with in_memory and mysql#copy between identical models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:101:
:1
220)
PostgresError in 'DataMapper::Model with in_memory and postgres#copy between identical models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
:1
221)
PostgresError in 'DataMapper::Model with in_memory and postgres#copy between different models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
:1
222)
'DataMapper::Model with yaml and mysql#copy between identical models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:101:
:1
223)
PostgresError in 'DataMapper::Model with yaml and postgres#copy between identical models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
:1
224)
PostgresError in 'DataMapper::Model with yaml and postgres#copy between different models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
:1
225)
'DataMapper::Model with mysql should be able to get the object' FAILED
expected: #<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>,
got: #<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true> (using ==)
spec/public/model_spec.rb:29:
:1
226)
'DataMapper::Model with mysql should be able to get all the objects' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:33:
:1
227)
'DataMapper::Model with mysql should be able to search for objects with equal value' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>] (using ==)
spec/public/model_spec.rb:37:
:1
228)
'DataMapper::Model with mysql should be able to search for objects included in an array of values' FAILED
expected: [#<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>],
got: [#<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>] (using ==)
spec/public/model_spec.rb:41:
:1
229)
'DataMapper::Model with mysql should be able to search for objects included in a range of values' FAILED
expected: [#<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>],
got: [#<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>] (using ==)
spec/public/model_spec.rb:45:
:1
230)
'DataMapper::Model with mysql should be able to search for objects with nil value' FAILED
expected: [#<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:49:
:1
231)
'DataMapper::Model with mysql should be able to search for objects with not equal value' FAILED
expected: [#<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:53:
:1
232)
'DataMapper::Model with mysql should be able to search for objects with value less than or equal to' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>] (using ==)
spec/public/model_spec.rb:57:
:1
233)
'DataMapper::Model with mysql should be able to order the objects ascending' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:61:
:1
234)
'DataMapper::Model with mysql should be able to order the objects descending' FAILED
expected: [#<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>],
got: [#<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>, #<Heffalump @id=nil @color=nil @num_spots=nil @striped=nil>, #<Heffalump @id=nil @color=nil @num_spots=nil @striped=nil>] (using ==)
spec/public/model_spec.rb:65:
:1
235)
TypeError in 'DataMapper::Model with mysql should be able to update an object'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:654:in `_update'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:543:in `save'
spec/public/model_spec.rb:70:
:1
236)
TypeError in 'DataMapper::Model with mysql should be able to destroy an object'
can't convert nil into Array
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `zip'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/model.rb:701:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:573:in `to_query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/resource.rb:559:in `destroy'
spec/public/model_spec.rb:75:
:1
237)
'DataMapper::Model with mysql and in_memory#copy between different models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:143:
:1
238)
'DataMapper::Model with mysql and yaml#copy between different models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=nil @striped=false>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>] (using ==)
spec/public/model_spec.rb:143:
:1
239)
'DataMapper::Model with mysql and mysql#copy between identical models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=0 @striped=nil>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=false>] (using ==)
spec/public/model_spec.rb:101:
:1
240)
'DataMapper::Model with mysql and mysql#copy between different models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=0 @striped=nil>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=false>] (using ==)
spec/public/model_spec.rb:143:
:1
241)
PostgresError in 'DataMapper::Model with mysql and postgres#copy between identical models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
:1
242)
PostgresError in 'DataMapper::Model with mysql and postgres#copy between different models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
:1
243)
PostgresError in 'DataMapper::Model with postgres should be able to search for objects with nil value'
(sql_state=42601) ERROR: syntax error at or near "$1"
Query: SELECT "id", "color", "num_spots", "striped" FROM "heffalumps" WHERE "num_spots" IS NULL ORDER BY "id"
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:84:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:226:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:77:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/repository.rb:143:in `read'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/collection.rb:919:in `initialize'
spec/public/model_spec.rb:49:
:1
244)
'DataMapper::Model with postgres should be able to order the objects descending' FAILED
expected: [#<Heffalump @id=3 @color="Dark Blue" @num_spots=nil @striped=false>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>],
got: [#<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=nil>, #<Heffalump @id=nil @color=nil @num_spots=nil @striped=nil>, #<Heffalump @id=nil @color=nil @num_spots=nil @striped=nil>] (using ==)
spec/public/model_spec.rb:65:
:1
245)
'DataMapper::Model with postgres and mysql#copy between identical models should create the Resources in the expected Repository' FAILED
expected: [#<Heffalump @id=nil @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=nil @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=nil @color="Dark Blue" @num_spots=0 @striped=nil>],
got: [#<Heffalump @id=1 @color="Black" @num_spots=0 @striped=true>, #<Heffalump @id=2 @color="Brown" @num_spots=25 @striped=false>, #<Heffalump @id=3 @color="Dark Blue" @num_spots=0 @striped=false>] (using ==)
spec/public/model_spec.rb:101:
:1
246)
PostgresError in 'DataMapper::Model with postgres and postgres#copy between identical models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
:1
247)
PostgresError in 'DataMapper::Model with postgres and postgres#copy between different models before(:all)'
Can't connect: postgresql://postgres@localhost/dm_core_test2
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:201:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/transaction.rb:362:in `create_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:225:in `with_connection'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/adapters/data_objects_adapter.rb:146:in `query'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:414:in `postgres_version'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:406:in `supports_drop_table_if_exists?'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:395:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:568:in `destroy_model_storage'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:634:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:41:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:57:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-corjava.lang.NullPointerException
at data_objects.Reader.get_typecast_rs_value(Reader.java:223)
at data_objects.Reader.next(Reader.java:158)
at data_objects.Reader$s_method_0_0$RUBYINVOKER$next.call(data_objects/Reader$s_method_0_0$RUBYINVOKER$next.gen)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:260)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:75)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.adapters.data_objects_adapter.read13770918_13568648.ensure_1$RUBY$__ensure___0(data_objects_adapter.rb:89)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.adapters.data_objects_adapter.read13770918_13568648.block_0$RUBY$__block__(data_objects_adapter.rb:83)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.adapters.data_objects_adapter.read13770918_13568648BlockCallback$block_0$RUBY$__block__xx1.call(Unknown Source)
at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:120)
at org.jruby.runtime.Block.yield(Block.java:128)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.adapters.data_objects_adapter.with_connection13966831_13568648.rescue_1$RUBY$__rescue___1(data_objects_adapter.rb:226)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.adapters.data_objects_adapter.with_connection13966831_13568648.ensure_1$RUBY$__ensure___0(data_objects_adapter.rb)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.adapters.data_objects_adapter.with_connection13966831_13568648.__file__(data_objects_adapter.rb:224)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:216)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:98)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.adapters.data_objects_adapter.read13770918_13568648.__file__(data_objects_adapter.rb:77)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:237)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:114)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.repository.read5822983_13568648.__file__(repository.rb:143)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:237)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:114)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.collection.initialize13172345_13568648.block_1$RUBY$__block__(collection.rb:919)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.collection.initialize13172345_13568648BlockCallback$block_1$RUBY$__block__xx1.call(Unknown Source)
at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:120)
at org.jruby.runtime.BlockBody.call(BlockBody.java:64)
at org.jruby.runtime.BlockBody.call(BlockBody.java:70)
at org.jruby.runtime.Block.call(Block.java:116)
at org.jruby.RubyProc.call(RubyProc.java:205)
at org.jruby.RubyProc.call(RubyProc.java:187)
at org.jruby.RubyProc$i_method_0_0$RUBYFRAMEDINVOKER$call.call(org/jruby/RubyProc$i_method_0_0$RUBYFRAMEDINVOKER$call.gen)
at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock.call(JavaMethod.java:62)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:243)
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:152)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:114)
at ruby.jit.ruby.usr.local.jruby_minus_1_dot_1_dot_6.lib.ruby.gems.$1_dot_8.gems.extlib_minus_0_dot_9_dot_11.lib.extlib.lazy_array.lazy_load5622346_13568648.__file__(lazy_array.rb:373)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:195)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:73)
at ruby.jit.ruby.usr.local.jruby_minus_1_dot_1_dot_6.lib.ruby.gems.$1_dot_8.gems.extlib_minus_0_dot_9_dot_11.lib.extlib.lazy_array.map5321695_13568648.__file__(lazy_array.rb:468)
at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:27)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:216)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:270)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:100)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.collection.replace6048539_13568648.__file__(collection.rb:621)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:237)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:114)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.collection.reload16131662_13568648.__file__(collection.rb:78)
at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:31)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:237)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:114)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.resource.reload_attributes12798166_13568648.__file__(resource.rb:413)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:250)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:34)
at ruby.jit.ruby.Users.alexbcoles.git_minus_repos.dm_minus_core.lib.dm_minus_core.resource.reload329958_13568648.__file__(resource.rb:394)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:195)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:260)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:75)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:68)
at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:190)
at org.jruby.runtime.Block.yield(Block.java:133)
at org.jruby.RubyObject.yieldUnder(RubyObject.java:491)
at org.jruby.RubyObject.specificEval(RubyObject.java:313)
at org.jruby.RubyObject.instance_eval(RubyObject.java:1206)
at org.jruby.RubyObject$i_method_multi$RUBYFRAMEDINVOKER$instance_eval.call(org/jruby/RubyObject$i_method_multi$RUBYFRAMEDINVOKER$instance_eval.gen)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
at ruby.jit.ruby.usr.local.jruby_minus_1_dot_1_dot_6.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_2.lib.spec.example.example_methods.eval_each_fail_fast16756567_13568648.block_0$RUBY$__block__(example_methods.rb:53)
at ruby.jit.ruby.usr.local.jruby_minus_1_dot_1_dot_6.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_2.lib.spec.example.example_methods.eval_each_fail_fast16756567_13568648BlockCallback$block_0$RUBY$__block__xx1.call(Unknown Source)
at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:100)
at org.jruby.runtime.Block.yield(Block.java:120)
at org.jruby.RubyArray.each(RubyArray.java:1559)
at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen)
at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:98)
at ruby.jit.ruby.usr.local.jruby_minus_1_dot_1_dot_6.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_2.lib.spec.example.example_methods.eval_each_fail_fast16756567_13568648.__file__(example_methods.rb:53)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:237)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:280)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:116)
at ruby.jit.ruby.usr.local.jruby_minus_1_dot_1_dot_6.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_2.lib.spec.example.example_group_hierarchy.run_before_all14008168_13568648.__file__(example_group_hierarchy.rb:13)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:237)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:114)
at ruby.jit.ruby.usr.local.jruby_minus_1_dot_1_dot_6.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_2.lib.spec.example.example_group_methods.run_before_all5353032_13568648.rescue_1$RUBY$__rescue___0(example_group_methods.rb:193)
at ruby.jit.ruby.usr.local.jruby_minus_1_dot_1_dot_6.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_2.lib.spec.example.example_group_methods.run_before_all5353032_13568648.__file__(example_group_methods.rb:192)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:237)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:280)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:116)
at ruby.jit.ruby.usr.local.jruby_minus_1_dot_1_dot_6.lib.ruby.gems.$1_dot_8.gems.rspec_minus_1_dot_2_dot_2.lib.spec.example.example_group_methods.run6862714_13568648.__file__(example_group_methods.rb:103)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:237)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:280)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:116)
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:153)
at org.jruby.runtime.Block.yield(Block.java:120)
at org.jruby.RubyArray.each(RubyArray.java:1559)
at org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.call(org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:63)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:68)
at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:93)
at org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:156)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:133)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:204)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:73)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:120)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:68)
at org.jruby.ast.IfNode.interpret(IfNode.java:111)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:68)
at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:93)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:80)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:68)
at org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:156)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:133)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:204)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:260)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:75)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:61)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:68)
at org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:156)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:133)
at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:204)
at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:260)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:75)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:82)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.IfNode.interpret(IfNode.java:111)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:190)
at org.jruby.runtime.BlockBody.call(BlockBody.java:64)
at org.jruby.runtime.BlockBody.call(BlockBody.java:70)
at org.jruby.runtime.Block.call(Block.java:116)
at org.jruby.RubyProc.call(RubyProc.java:205)
at org.jruby.RubyProc.call(RubyProc.java:187)
at org.jruby.Ruby.tearDown(Ruby.java:2380)
at org.jruby.Main.run(Main.java:216)
at org.jruby.Main.run(Main.java:100)
at org.jruby.e/lib/dm-core/migrations.rb:56:in `with_each_model_and_repository'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:40:in `auto_migrate_down!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:23:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/lib/dm-core/migrations.rb:579:in `auto_migrate!'
/Users/alexbcoles/git-repos/dm-core/spec/lib/adapter_helpers.rb:64:in `with_alternate_adapter'
:1
Finished in 184.363978 seconds
4509 examples, 247 failures, 181 pending
util.ShellLauncher$ScriptThreadProcess.run(ShellLauncher.java:103)
at java.lang.Thread.run(Thread.java:613)
rake aborted!
Command /usr/local/jruby/bin/jruby -I"spec:lib" "/usr/local/jruby-1.1.6/lib/ruby/gems/1.8/gems/rspec-1.2.2/bin/spec" "spec/public/associations_spec.rb" "spec/public/collection_spec.rb" "spec/public/model_spec.rb" "spec/public/property_spec.rb" "spec/public/resource_spec.rb" "spec/public/transaction_spec.rb" "spec/public/associations/many_to_many_spec.rb" "spec/public/associations/many_to_one_spec.rb" "spec/public/associations/one_to_many_spec.rb" "spec/public/associations/one_to_one_spec.rb" "spec/public/shared/collection_shared_spec.rb" "spec/public/shared/resource_shared_spec.rb" "spec/semipublic/associations_spec.rb" "spec/semipublic/collection_spec.rb" "spec/semipublic/conditions_spec.rb" "spec/semipublic/query_spec.rb" "spec/semipublic/resource_spec.rb" "spec/semipublic/adapters/in_memory_adapter_spec.rb" "spec/semipublic/adapters/mysql_adapter_spec.rb" "spec/semipublic/adapters/postgres_adapter_spec.rb" "spec/semipublic/adapters/sqlite3_adapter_spec.rb" "spec/semipublic/adapters/yaml_adapter_spec.rb" "spec/semipublic/associations/many_to_one_spec.rb" "spec/semipublic/shared/resource_shared_spec.rb" 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