Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
.....................................................................F........................................
Failures:
1) retrieving all conversations for a user returns both
Failure/Error: Conversation.involving(user).should ==
[sent_convo, received_convo]
expected: [#<Conversation _id: 4fd325c02541726af30000ad, _type:
"Conversation", created_at: 2012-06-09 10:30:24 UTC, updated_at:
2012-06-09 10:30:24 UTC, sender_id:
BSON::ObjectId('4fd325c02541726af30000ab'), recipient_id:
BSON::ObjectId('4fd325c02541726af30000ac'), subject_type: nil,
subject_id: nil>, #<Conversation _id: 4fd325c02541726af30000b1,
_type: "Conversation", created_at: 2012-06-09 10:30:24 UTC,
updated_at: 2012-06-09 10:30:24 UTC, sender_id:
BSON::ObjectId('4fd325c02541726af30000ac'), recipient_id:
BSON::ObjectId('4fd325c02541726af30000ab'), subject_type: nil,
subject_id: nil>]
got: #<Mongoid::Criteria
selector:
{:$or=>[{:recipient_id=>BSON::ObjectId('4fd325c02541726af30000ab')},
{:sender_id=>BSON::ObjectId('4fd325c02541726af30000ab')}]},
options: {},
class: Conversation,
embedded: false>
(using ==)
Diff:
@@ -1,3 +1,6 @@
-[#<Conversation _id: 4fd325c02541726af30000ad, _type:
"Conversation", created_at: 2012-06-09 10:30:24 UTC, updated_at:
2012-06-09 10:30:24 UTC, sender_id:
BSON::ObjectId('4fd325c02541726af30000ab'), recipient_id:
BSON::ObjectId('4fd325c02541726af30000ac'), subject_type: nil,
subject_id: nil>,
- #<Conversation _id: 4fd325c02541726af30000b1, _type:
"Conversation", created_at: 2012-06-09 10:30:24 UTC, updated_at:
2012-06-09 10:30:24 UTC, sender_id:
BSON::ObjectId('4fd325c02541726af30000ac'), recipient_id:
BSON::ObjectId('4fd325c02541726af30000ab'), subject_type: nil,
subject_id: nil>]
+#<Mongoid::Criteria
+ selector:
{:$or=>[{:recipient_id=>BSON::ObjectId('4fd325c02541726af30000ab')},
{:sender_id=>BSON::ObjectId('4fd325c02541726af30000ab')}]},
+ options: {},
+ class: Conversation,
+ embedded: false>
# ./spec/models/conversation_spec.rb:74:in `block (2 levels) in
<top (required)>'
Finished in 1.52 seconds
110 examples, 1 failure
Failed examples:
rspec ./spec/models/conversation_spec.rb:73 # retrieving all
conversations for a user returns both
bundle exec rspec 5.40s user 0.66s system 98% cpu 6.136 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
1 ↵ zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
..............................................................................................................
Finished in 1.52 seconds
110 examples, 0 failures
bundle exec rspec 5.39s user 0.65s system 98% cpu 6.115 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
..............................................................................................................
Finished in 1.53 seconds
110 examples, 0 failures
bundle exec rspec 5.36s user 0.67s system 98% cpu 6.099 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
..............................................................................................................
Finished in 1.5 seconds
110 examples, 0 failures
bundle exec rspec 5.33s user 0.67s system 98% cpu 6.079 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
..............................................................................................................
Finished in 1.52 seconds
110 examples, 0 failures
bundle exec rspec 5.40s user 0.67s system 98% cpu 6.147 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
..............................................................................................................
Finished in 1.52 seconds
110 examples, 0 failures
bundle exec rspec 5.36s user 0.67s system 98% cpu 6.106 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
.....................................................................F........................................
Failures:
1) retrieving all conversations for a user returns both
Failure/Error: Conversation.involving(user).should ==
[sent_convo, received_convo]
expected: [#<Conversation _id: 4fd325ec2541726f6c0000ad, _type:
"Conversation", created_at: 2012-06-09 10:31:08 UTC, updated_at:
2012-06-09 10:31:08 UTC, sender_id:
BSON::ObjectId('4fd325ec2541726f6c0000ab'), recipient_id:
BSON::ObjectId('4fd325ec2541726f6c0000ac'), subject_type: nil,
subject_id: nil>, #<Conversation _id: 4fd325ec2541726f6c0000b1,
_type: "Conversation", created_at: 2012-06-09 10:31:08 UTC,
updated_at: 2012-06-09 10:31:08 UTC, sender_id:
BSON::ObjectId('4fd325ec2541726f6c0000ac'), recipient_id:
BSON::ObjectId('4fd325ec2541726f6c0000ab'), subject_type: nil,
subject_id: nil>]
got: #<Mongoid::Criteria
selector:
{:$or=>[{:recipient_id=>BSON::ObjectId('4fd325ec2541726f6c0000ab')},
{:sender_id=>BSON::ObjectId('4fd325ec2541726f6c0000ab')}]},
options: {},
class: Conversation,
embedded: false>
(using ==)
Diff:
@@ -1,3 +1,6 @@
-[#<Conversation _id: 4fd325ec2541726f6c0000ad, _type:
"Conversation", created_at: 2012-06-09 10:31:08 UTC, updated_at:
2012-06-09 10:31:08 UTC, sender_id:
BSON::ObjectId('4fd325ec2541726f6c0000ab'), recipient_id:
BSON::ObjectId('4fd325ec2541726f6c0000ac'), subject_type: nil,
subject_id: nil>,
- #<Conversation _id: 4fd325ec2541726f6c0000b1, _type:
"Conversation", created_at: 2012-06-09 10:31:08 UTC, updated_at:
2012-06-09 10:31:08 UTC, sender_id:
BSON::ObjectId('4fd325ec2541726f6c0000ac'), recipient_id:
BSON::ObjectId('4fd325ec2541726f6c0000ab'), subject_type: nil,
subject_id: nil>]
+#<Mongoid::Criteria
+ selector:
{:$or=>[{:recipient_id=>BSON::ObjectId('4fd325ec2541726f6c0000ab')},
{:sender_id=>BSON::ObjectId('4fd325ec2541726f6c0000ab')}]},
+ options: {},
+ class: Conversation,
+ embedded: false>
# ./spec/models/conversation_spec.rb:74:in `block (2 levels) in
<top (required)>'
Finished in 1.53 seconds
110 examples, 1 failure
Failed examples:
rspec ./spec/models/conversation_spec.rb:73 # retrieving all
conversations for a user returns both
bundle exec rspec 5.44s user 0.66s system 98% cpu 6.180 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
1 ↵ zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
..............................................................................................................
Finished in 1.51 seconds
110 examples, 0 failures
bundle exec rspec 5.38s user 0.67s system 98% cpu 6.125 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
..............................................................................................................
Finished in 1.51 seconds
110 examples, 0 failures
bundle exec rspec 5.40s user 0.67s system 98% cpu 6.146 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
..............................................................................................................
Finished in 1.52 seconds
110 examples, 0 failures
bundle exec rspec 5.37s user 0.65s system 98% cpu 6.104 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
..............................................................................................................
Finished in 1.51 seconds
110 examples, 0 failures
bundle exec rspec 5.42s user 0.68s system 98% cpu 6.182 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
..............................................................................................................
Finished in 1.5 seconds
110 examples, 0 failures
bundle exec rspec 5.38s user 0.66s system 98% cpu 6.117 total
‹ ~/zaarly/api-v2 master⚡ › 흺 bundle exec rspec
zkim-mba-i7.local
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will
be removed in future releases,simply use Ruby memoization pattern
instead. (called from <top (required)> at
/Users/zkim/zaarly/api-v2/boot.rb:9)
post is not a valid option for Mongo::Connection
MONGODB [DEBUG] Logging level is currently :debug which could
negatively impact client-side performance. You should set your logging
level no lower than :info in production.
MONGODB (0ms) admin['$cmd'].find({:ismaster=>1}).limit(-1)
DEPRECATION WARNING: The InstanceMethods module inside
ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in
Mongoid::Search instead. (called from include at
/Users/zkim/zaarly/api-v2/app/models/skill.rb:4)
.....................................................................F........................................
Failures:
1) retrieving all conversations for a user returns both
Failure/Error: Conversation.involving(user).should ==
[sent_convo, received_convo]
expected: [#<Conversation _id: 4fd3261825417273e40000ad, _type:
"Conversation", created_at: 2012-06-09 10:31:52 UTC, updated_at:
2012-06-09 10:31:52 UTC, sender_id:
BSON::ObjectId('4fd3261825417273e40000ab'), recipient_id:
BSON::ObjectId('4fd3261825417273e40000ac'), subject_type: nil,
subject_id: nil>, #<Conversation _id: 4fd3261825417273e40000b1,
_type: "Conversation", created_at: 2012-06-09 10:31:52 UTC,
updated_at: 2012-06-09 10:31:52 UTC, sender_id:
BSON::ObjectId('4fd3261825417273e40000ac'), recipient_id:
BSON::ObjectId('4fd3261825417273e40000ab'), subject_type: nil,
subject_id: nil>]
got: #<Mongoid::Criteria
selector:
{:$or=>[{:recipient_id=>BSON::ObjectId('4fd3261825417273e40000ab')},
{:sender_id=>BSON::ObjectId('4fd3261825417273e40000ab')}]},
options: {},
class: Conversation,
embedded: false>
(using ==)
Diff:
@@ -1,3 +1,6 @@
-[#<Conversation _id: 4fd3261825417273e40000ad, _type:
"Conversation", created_at: 2012-06-09 10:31:52 UTC, updated_at:
2012-06-09 10:31:52 UTC, sender_id:
BSON::ObjectId('4fd3261825417273e40000ab'), recipient_id:
BSON::ObjectId('4fd3261825417273e40000ac'), subject_type: nil,
subject_id: nil>,
- #<Conversation _id: 4fd3261825417273e40000b1, _type:
"Conversation", created_at: 2012-06-09 10:31:52 UTC, updated_at:
2012-06-09 10:31:52 UTC, sender_id:
BSON::ObjectId('4fd3261825417273e40000ac'), recipient_id:
BSON::ObjectId('4fd3261825417273e40000ab'), subject_type: nil,
subject_id: nil>]
+#<Mongoid::Criteria
+ selector:
{:$or=>[{:recipient_id=>BSON::ObjectId('4fd3261825417273e40000ab')},
{:sender_id=>BSON::ObjectId('4fd3261825417273e40000ab')}]},
+ options: {},
+ class: Conversation,
+ embedded: false>
# ./spec/models/conversation_spec.rb:74:in `block (2 levels) in
<top (required)>'
Finished in 1.53 seconds
110 examples, 1 failure
Failed examples:
rspec ./spec/models/conversation_spec.rb:73 # retrieving all
conversations for a user returns both
bundle exec rspec 5.43s user 0.66s system 98% cpu 6.164 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.