Skip to content

Instantly share code, notes, and snippets.

@evansagge
Created October 17, 2011 02:51
Show Gist options
  • Save evansagge/1291835 to your computer and use it in GitHub Desktop.
Save evansagge/1291835 to your computer and use it in GitHub Desktop.
evan-imac:dealgrocer.com evan$ rake test
(in /Users/evan/Projects/dealgrocer/dealgrocer.com)
/Users/evan/.rvm/gems/[email protected]/gems/rack-1.3.4/lib/rack/backports/uri/common_192.rb:53: warning: already initialized constant WFKV_
DEPRECATION WARNING: Yajl's JSON gem compatibility API is going to be removed in 2.0
..................................................................................................................................................................................
NoMethodError: undefined method `[]' for nil:NilClass
- assert_equal "[email protected]", opts[:to_email] /Users/evan/Projects/dealgrocer/dealgrocer.com/test/unit/invite.rb +12
.................Can't read environment variable DG_SECRET
Error getting password
Can't read environment variable DG_SECRET
Error getting password
Cutest::AssertionFailed: "foo" != ""
- assert_equal "foo", PPPass.decrypt /Users/evan/Projects/dealgrocer/dealgrocer.com/test/unit/pppass.rb +8
..................................
Imagery::InvalidImage: Imagery::InvalidImage
- p = PrivateSale.create( /Users/evan/Projects/dealgrocer/dealgrocer.com/test/unit/private_sale.rb +21
- execute_callback(:before, :save) /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +158
- __send__("#{ position }_#{ method }") /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +219
- primary.save(primary_file[:tempfile]) /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/private_sale.rb +61
- imagery.save(io) /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/image.rb +22
- GM.identify(io) or raise(InvalidImage) /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/imagery/lib/imagery.rb +74
........
Imagery::InvalidImage: Imagery::InvalidImage
- collection = ProductCollection.spawn /Users/evan/Projects/dealgrocer/dealgrocer.com/test/unit/product.rb +48
- return create if new? /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +178
- execute_callback(:before, :save) /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +158
- __send__("#{ position }_#{ method }") /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +219
- masthead.save(masthead_file[:tempfile]) /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/product_collection.rb +184
- imagery.save(io) /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/image.rb +22
- GM.identify(io) or raise(InvalidImage) /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/imagery/lib/imagery.rb +74
Imagery::InvalidImage: Imagery::InvalidImage
- ProductCollection.spawn(masthead_file: { /Users/evan/Projects/dealgrocer/dealgrocer.com/test/unit/product_collection.rb +5
- return create if new? /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +178
- execute_callback(:before, :save) /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +158
- __send__("#{ position }_#{ method }") /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +219
- masthead.save(masthead_file[:tempfile]) /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/product_collection.rb +184
- imagery.save(io) /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/image.rb +22
- GM.identify(io) or raise(InvalidImage) /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/imagery/lib/imagery.rb +74
Imagery::InvalidImage: Imagery::InvalidImage
- ph.save(File.open(root("test/fixtures/r8.jpg"))) /Users/evan/Projects/dealgrocer/dealgrocer.com/test/unit/product_photos.rb +5
- imagery.save(io) /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/image.rb +22
- GM.identify(io) or raise(InvalidImage) /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/imagery/lib/imagery.rb +74
................................
Errno::ECONNREFUSED: Connection refused - connect(2)
- Welcome.deliver quentin.id /Users/evan/Projects/dealgrocer/dealgrocer.com/test/unit/ses.rb +6
- html: open(MailerHelpers.welcome_url(user)).read, /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/mailer/welcome.rb +9
.....................................................................................................................
Imagery::InvalidImage: Imagery::InvalidImage
- u.save /Users/evan/Projects/dealgrocer/dealgrocer.com/test/unit/user_avatar.rb +6
- mutex do /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +184
- execute_callback(:after, :save) /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +188
- self.class.callbacks[position][method].each do |callback| /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +215
- self.class.callbacks[position][method].each do |callback| /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +215
- __send__(callback) /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/ohm-contrib/lib/ohm/contrib/callbacks.rb +216
- if avatar(uuid).save(@avatar_fp[:tempfile]) /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/modules/avatar.rb +23
- GM.identify(io) or raise(InvalidImage) /Users/evan/Projects/dealgrocer/dealgrocer.com/vendor/imagery/lib/imagery.rb +74
...................................
Errno::ECONNREFUSED: Connection refused - connect(2)
- DG::Utils.remind_expiring_coupons do |*args| /Users/evan/Projects/dealgrocer/dealgrocer.com/test/unit/user_coupons.rb +163
- Product.all.each do |p| /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/dg_utils.rb +95
- key.smembers.each { |id| yield model.new(id: id).preload(preloads) } /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/ext/ohm.rb +5
- key.smembers.each { |id| yield model.new(id: id).preload(preloads) } /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/ext/ohm.rb +5
- key.smembers.each { |id| yield model.new(id: id).preload(preloads) } /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/ext/ohm.rb +5
- users.each do |u, count| /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/dg_utils.rb +114
- users.each do |u, count| /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/dg_utils.rb +114
- CouponReminder.deliver(u.id, p.id, count) /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/core/dg_utils.rb +115
- html: open(MailerHelpers.coupon_reminder_url(user, product, count)).read, /Users/evan/Projects/dealgrocer/dealgrocer.com/lib/mailer/coupon_reminder.rb +10
............................................................................................................................................................................
Cutest::AssertionFailed: expression returned false
- assert has_content?(I18n::t("settings.save_account_success")) /Users/evan/Projects/dealgrocer/dealgrocer.com/test/stories/settings.rb +52
...
Cutest::AssertionFailed: expression returned false
- } /Users/evan/Projects/dealgrocer/dealgrocer.com/test/stories/signup.rb +58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment