RobinBrouwer/gritter

ActionView::Template::Error: undefined local variable or method `gflash'

iRonin opened this issue · 4 comments

Any ideas what's the reason I get

ActionView::Template::Error: undefined local variable or method `gflash` 

in Capybara specs when using Spork/Guard?

Sorry, it was Spork's issue.

@iRonin i got the same error. Can you share your solution? Thanks

The problem was in not loading Gritter helpers
I solved this by adding include Gritter::Helpers into my spec_helper file

@DavertMik You were faster :)