Closed chrislerum closed 9 years ago
Can you please show us the full context of where you're putting this line in the file?
On 3 Feb 2015, at 02:08, Chris Lerum notifications@github.com wrote:
config.after(type: :feature) { Warden.test_reset! }
gives me:
ticketee/spec/rails_helper.rb:12:in block in <top (required)>': undefined local variable or methodconfig' for main:Object (NameError)
— Reply to this email directly or view it on GitHub.
it was in rspec config, but can close this as it was resolved by restarting spring.
— Sent from Mailbox
On Mon, Feb 2, 2015 at 2:34 PM, Ryan Bigg notifications@github.com wrote:
Can you please show us the full context of where you're putting this line in the file?
On 3 Feb 2015, at 02:08, Chris Lerum notifications@github.com wrote:
config.after(type: :feature) { Warden.test_reset! }
gives me:
ticketee/spec/rails_helper.rb:12:in block in <top (required)>': undefined local variable or methodconfig' for main:Object (NameError)
— Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub: https://github.com/railsbook/r4ia/issues/19#issuecomment-72521762
I have doubt that it was in the correct block. You wouldn't be getting that error if it was in the block.
On 3 Feb 2015, at 06:48, Chris Lerum notifications@github.com wrote:
it was in rspec config, but can close this as it was resolved by restarting spring.
— Sent from Mailbox
On Mon, Feb 2, 2015 at 2:34 PM, Ryan Bigg notifications@github.com wrote:
Can you please show us the full context of where you're putting this line in the file?
On 3 Feb 2015, at 02:08, Chris Lerum notifications@github.com wrote:
config.after(type: :feature) { Warden.test_reset! }
gives me:
ticketee/spec/rails_helper.rb:12:in block in <top (required)>': undefined local variable or methodconfig' for main:Object (NameError)
— Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub: https://github.com/railsbook/r4ia/issues/19#issuecomment-72521762 — Reply to this email directly or view it on GitHub.
config.after(type: :feature) { Warden.test_reset! }
gives me:
ticketee/spec/rails_helper.rb:12:in
block in <top (required)>': undefined local variable or method
config' for main:Object (NameError)