I upgraded from the gem version of cucumber-rails to HEAD on the git repo, updated my support files (env.rb et al) and now I'm bombing tests on ol' assert.
My test is a typical assert page.has_css? ... and the resulting error is undefined method 'add_assertion' for nil:NilClass. Stacktrace:
Seems very strange... The problem, apparently, is that TestCase#run is never run, so when assert is called, the @_result variable isn't set and add_assertion barfs.
I upgraded from the gem version of cucumber-rails to HEAD on the git repo, updated my support files (env.rb et al) and now I'm bombing tests on ol'
assert
.My test is a typical
assert page.has_css? ...
and the resulting error isundefined method 'add_assertion' for nil:NilClass
. Stacktrace:Seems very strange... The problem, apparently, is that
TestCase#run
is never run, so whenassert
is called, the@_result
variable isn't set andadd_assertion
barfs.