Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sha1sum/5debae6b700ff8fc0c76 to your computer and use it in GitHub Desktop.
Save sha1sum/5debae6b700ff8fc0c76 to your computer and use it in GitHub Desktop.
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
........*.........................F.....FFFFF................................FFFFFFF..FF........................................................................F..........................................
Pending:
products admin user deleting product
# Not yet implemented
# ./spec/features/admin/products_spec.rb:40
Failures:
1) signin redirect to signin page for if not authenticated to view notification
Failure/Error: let(:notification) { create :notification }
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:11:in `notify'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./app/models/notification.rb:24:in `send_email'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:424:in `block in make_lambda'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:221:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/callbacks.rb:306:in `_create_record'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/timestamp.rb:57:in `_create_record'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/persistence.rb:483:in `create_or_update'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/callbacks.rb:302:in `block in create_or_update'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/callbacks.rb:302:in `create_or_update'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/persistence.rb:125:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/validations.rb:57:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:273:in `block in save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:208:in `transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:273:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/configuration.rb:14:in `block in initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/evaluation.rb:15:in `[]'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/evaluation.rb:15:in `create'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:12:in `block in result'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:9:in `tap'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:9:in `result'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/factory.rb:42:in `run'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/factory_runner.rb:23:in `block in run'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/factory_runner.rb:22:in `run'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:20:in `block in define_singular_strategy_method'
# ./spec/features/signin_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/features/signin_spec.rb:27:in `block (2 levels) in <top (required)>'
2) follows when signed in following another member has a followed member listed in the following page
Failure/Error: expect(page).to have_content "#{other_member.login_name}"
expected to find text "member73" in "Skip navigation menu Search crop database: Crops Community member72 Sign out member72's follows No members found No members found"
# ./spec/features/following_spec.rb:46:in `block (4 levels) in <top (required)>'
3) follows when signed in following another member has member in following list
Failure/Error: expect(page).to have_content "#{other_member.login_name}"
expected to find text "member75" in "Skip navigation menu Search crop database: Crops Community member74 Sign out member74's follows No members found No members found"
# ./spec/features/following_spec.rb:65:in `block (4 levels) in <top (required)>'
4) follows when signed in following another member has correct message and follow button after unfollow
Failure/Error: click_link 'Unfollow'
Capybara::ElementNotFound:
Unable to find link "Unfollow"
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/node/finders.rb:41:in `block in find'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/node/finders.rb:30:in `find'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/node/actions.rb:27:in `click_link'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/session.rb:676:in `block (2 levels) in <class:Session>'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/following_spec.rb:56:in `block (4 levels) in <top (required)>'
5) follows when signed in following another member removes members from following and followers lists after unfollow
Failure/Error: click_link 'Unfollow'
Capybara::ElementNotFound:
Unable to find link "Unfollow"
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/node/finders.rb:41:in `block in find'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/node/finders.rb:30:in `find'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/node/actions.rb:27:in `click_link'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/session.rb:676:in `block (2 levels) in <class:Session>'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/capybara-2.4.4/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/following_spec.rb:76:in `block (4 levels) in <top (required)>'
6) follows when signed in following another member has correct message and unfollow button
Failure/Error: expect(page).to have_content "Followed #{other_member.login_name}"
expected to find text "Followed member81" in "TypeError in FollowsController#create no implicit conversion of nil into String Extracted source (around line #11): 9 10 11 12 13 14 # Encrypting verifier = ActiveSupport::MessageVerifier.new(ENV['RAILS_SECRET_TOKEN']) @signed_message = verifier.generate ({ member_id: @notification.recipient.id, type: :send_notification_email }) mail(:to => @notification.recipient.email, :subject => @notification.subject) Rails.root: /opt/code/growstuff Application Trace | Framework Trace | Full Trace app/mailers/notifier.rb:11:in `notify' app/models/notification.rb:24:in `send_email' app/models/follow.rb:7:in `block in <class:Follow>' app/controllers/follows_controller.rb:11:in `create' Request Parameters: {\"_method\"=>\"post\", \"followed_id\"=>\"2\"} Toggle session dump Toggle env dump Response Headers: None"
# ./spec/features/following_spec.rb:39:in `block (4 levels) in <top (required)>'
7) Planting reminder email has a greeting
Failure/Error: let(:mail) { Notifier.planting_reminder(member) }
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:25:in `planting_reminder'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./spec/features/planting_reminder_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/features/planting_reminder_spec.rb:15:in `block (2 levels) in <top (required)>'
8) Planting reminder email when member has no plantings doesn't list plantings
Failure/Error: let(:mail) { Notifier.planting_reminder(member) }
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:25:in `planting_reminder'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./spec/features/planting_reminder_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/features/planting_reminder_spec.rb:24:in `block (3 levels) in <top (required)>'
9) Planting reminder email when member has no plantings tells you to track your plantings
Failure/Error: let(:mail) { Notifier.planting_reminder(member) }
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:25:in `planting_reminder'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./spec/features/planting_reminder_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/features/planting_reminder_spec.rb:20:in `block (3 levels) in <top (required)>'
10) Planting reminder email when member has some harvests lists harvests
Failure/Error: let(:mail) { Notifier.planting_reminder(member) }
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:25:in `planting_reminder'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./spec/features/planting_reminder_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/features/planting_reminder_spec.rb:55:in `block (3 levels) in <top (required)>'
11) Planting reminder email when member has some plantings lists plantings
Failure/Error: let(:mail) { Notifier.planting_reminder(member) }
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:25:in `planting_reminder'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./spec/features/planting_reminder_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/features/planting_reminder_spec.rb:33:in `block (3 levels) in <top (required)>'
12) Planting reminder email when member has no harvests doesn't list plantings
Failure/Error: let(:mail) { Notifier.planting_reminder(member) }
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:25:in `planting_reminder'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./spec/features/planting_reminder_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/features/planting_reminder_spec.rb:46:in `block (3 levels) in <top (required)>'
13) Planting reminder email when member has no harvests tells you to tracking plantings
Failure/Error: let(:mail) { Notifier.planting_reminder(member) }
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:25:in `planting_reminder'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./spec/features/planting_reminder_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/features/planting_reminder_spec.rb:42:in `block (3 levels) in <top (required)>'
14) unsubscribe from planting reminder mailing list
Failure/Error: Notifier.planting_reminder(member).deliver
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:25:in `planting_reminder'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./spec/features/unsubscribing_spec.rb:18:in `block (2 levels) in <top (required)>'
15) unsubscribe from inbox notification mailing list
Failure/Error: let(:notification) { create :notification }
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:11:in `notify'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./app/models/notification.rb:24:in `send_email'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:424:in `block in make_lambda'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:221:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/callbacks.rb:306:in `_create_record'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/timestamp.rb:57:in `_create_record'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/persistence.rb:483:in `create_or_update'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/callbacks.rb:302:in `block in create_or_update'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/callbacks.rb:302:in `create_or_update'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/persistence.rb:125:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/validations.rb:57:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:273:in `block in save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:208:in `transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:273:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/configuration.rb:14:in `block in initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/evaluation.rb:15:in `[]'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/evaluation.rb:15:in `create'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:12:in `block in result'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:9:in `tap'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:9:in `result'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/factory.rb:42:in `run'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/factory_runner.rb:23:in `block in run'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/factory_runner.rb:22:in `run'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:20:in `block in define_singular_strategy_method'
# ./spec/features/unsubscribing_spec.rb:6:in `block (2 levels) in <top (required)>'
# ./spec/features/unsubscribing_spec.rb:35:in `block (2 levels) in <top (required)>'
16) Notifications On existing notification Replying to the notification
Failure/Error: create :notification,
TypeError:
no implicit conversion of nil into String
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `hexdigest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:70:in `generate_digest'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/message_verifier.rb:53:in `generate'
# ./app/mailers/notifier.rb:11:in `notify'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:189:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:82:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionpack-4.1.9/lib/abstract_controller/base.rb:136:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionview-4.1.9/lib/action_view/rendering.rb:30:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:580:in `block in process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `block in instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:159:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:577:in `process'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:568:in `initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `new'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/actionmailer-4.1.9/lib/action_mailer/base.rb:551:in `method_missing'
# ./app/models/notification.rb:24:in `send_email'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:424:in `block in make_lambda'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:221:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/callbacks.rb:306:in `_create_record'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/timestamp.rb:57:in `_create_record'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/persistence.rb:483:in `create_or_update'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/callbacks.rb:302:in `block in create_or_update'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:113:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:166:in `block in halting'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `call'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/callbacks.rb:86:in `run_callbacks'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/callbacks.rb:302:in `create_or_update'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/persistence.rb:125:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/validations.rb:57:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:273:in `block in save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:208:in `transaction'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activerecord-4.1.9/lib/active_record/transactions.rb:273:in `save!'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/configuration.rb:14:in `block in initialize'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/evaluation.rb:15:in `[]'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/evaluation.rb:15:in `create'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:12:in `block in result'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:9:in `tap'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:9:in `result'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/factory.rb:42:in `run'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/factory_runner.rb:23:in `block in run'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/activesupport-4.1.9/lib/active_support/notifications.rb:161:in `instrument'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/factory_runner.rb:22:in `run'
# /opt/rvm/gems/ruby-2.1.5@growstuffdev/gems/factory_girl-4.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:20:in `block in define_singular_strategy_method'
# ./spec/features/notifications_spec.rb:9:in `block (3 levels) in <top (required)>'
Finished in 1 minute 43.33 seconds (files took 2.62 seconds to load)
203 examples, 16 failures, 1 pending
Failed examples:
rspec ./spec/features/signin_spec.rb:26 # signin redirect to signin page for if not authenticated to view notification
rspec ./spec/features/following_spec.rb:43 # follows when signed in following another member has a followed member listed in the following page
rspec ./spec/features/following_spec.rb:62 # follows when signed in following another member has member in following list
rspec ./spec/features/following_spec.rb:54 # follows when signed in following another member has correct message and follow button after unfollow
rspec ./spec/features/following_spec.rb:74 # follows when signed in following another member removes members from following and followers lists after unfollow
rspec ./spec/features/following_spec.rb:37 # follows when signed in following another member has correct message and unfollow button
rspec ./spec/features/planting_reminder_spec.rb:14 # Planting reminder email has a greeting
rspec ./spec/features/planting_reminder_spec.rb:23 # Planting reminder email when member has no plantings doesn't list plantings
rspec ./spec/features/planting_reminder_spec.rb:19 # Planting reminder email when member has no plantings tells you to track your plantings
rspec ./spec/features/planting_reminder_spec.rb:54 # Planting reminder email when member has some harvests lists harvests
rspec ./spec/features/planting_reminder_spec.rb:32 # Planting reminder email when member has some plantings lists plantings
rspec ./spec/features/planting_reminder_spec.rb:45 # Planting reminder email when member has no harvests doesn't list plantings
rspec ./spec/features/planting_reminder_spec.rb:41 # Planting reminder email when member has no harvests tells you to tracking plantings
rspec ./spec/features/unsubscribing_spec.rb:12 # unsubscribe from planting reminder mailing list
rspec ./spec/features/unsubscribing_spec.rb:29 # unsubscribe from inbox notification mailing list
rspec ./spec/features/notifications_spec.rb:21 # Notifications On existing notification Replying to the notification
Top 3 slowest examples (9.35 seconds, 9.1% of total time):
follows when signed in following another member has correct message and follow button after unfollow
3.23 seconds ./spec/features/following_spec.rb:54
follows when signed in following another member has member in following list
3.11 seconds ./spec/features/following_spec.rb:62
follows when signed in following another member has a followed member listed in the following page
3.01 seconds ./spec/features/following_spec.rb:43
Top 3 slowest example groups:
follows
1.94 seconds average (19.36 seconds / 10 examples) ./spec/features/following_spec.rb:3
Crop -
1.51 seconds average (1.51 seconds / 1 example) ./spec/features/crops/creating_a_crop_spec.rb:3
Planting a crop
1.32 seconds average (31.68 seconds / 24 examples) ./spec/features/plantings/planting_a_crop_spec.rb:3
Randomized with seed 65456
Coverage report generated for RSpec to /opt/code/growstuff/coverage. 1238 / 1596 LOC (77.57%) covered.
[Coveralls] Outside the Travis environment, not sending data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment