Skip to content

Instantly share code, notes, and snippets.

@cilquirm
Created September 7, 2012 19:29
Show Gist options
  • Save cilquirm/3668900 to your computer and use it in GitHub Desktop.
Save cilquirm/3668900 to your computer and use it in GitHub Desktop.
And I press "Save" # features/step_definitions/web_steps.rb:52
private method `gsub!' called for nil:NilClass (NoMethodError)
./app/models/rewards/reward_creator.rb:8:in `create'
./app/models/rewards/new_reward_form.rb:49:in `save'
./app/controllers/admin/rewards_controller.rb:18:in `create'
./lib/e20/rack/locale.rb:10:in `call'
./lib/e20/rack/program_detector.rb:13:in `call'
./lib/e20/middleware/integration_test/exception_checker.rb:21:in `call'
./lib/e20/rack/campaign_redirecter.rb:25:in `_call'
./lib/e20/rack/campaign_redirecter.rb:13:in `call'
(eval):2:in `send'
(eval):2:in `click_button'
./features/step_definitions/web_steps.rb:53:in `/^(?:|I )press "([^"]*)"$/'
features/rewards_administration.feature:29:in `And I press "Save"'
Then show me the page # features/step_definitions/web_steps.rb:226
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment