ruby on rails - Cucumber feature failing when rendering template with confusing error -


i'm trying make tests pass, cucumber failing confusing error, template related, i'm not able understand , fix.

here gemfile , gemfile.lock:

https://gist.github.com/ngw/dada0c0658a9ef8b5573

you can assume on latest version of today, 28 march 2015, including rails, cucumber, ruby (2.2.0p0), database_cleaner, , on.

the view fails render devise view renders fine on browser.

here exception raised:

background:                # features/users/sign_up.feature:6   given not logged in # features/step_definitions/user_steps.rb:9  scenario: user signs valid data          # features/users/sign_up.feature:9   when sign valid user data            # features/step_definitions/user_steps.rb:13   undefined method `[]' nil:nilclass     (in /users/ngw/petswantpats/app/assets/stylesheets/application.css) (actionview::template::error)   ./app/views/layouts/application.html.haml:6:in `_app_views_layouts_application_html_haml___302582815389802583_70306431437360'   ./features/step_definitions/user_steps.rb:6:in `sign_up'   ./features/step_definitions/user_steps.rb:15:in `/^i sign valid user data$/'   ./features/support/database_cleaner.rb:11:in `block in <top (required)>'   features/users/sign_up.feature:10:in `when sign valid user data' should see successful sign message # features/step_definitions/user_steps.rb:18 

here incriminated views:

https://gist.github.com/ngw/95c0a0e6db86cfa0357f

here content of application.css.scss:

https://gist.github.com/ngw/ab766e0cfb5167d2d76a

the failing step:

def sign_up   visit '/users/sign_up' end 

is js related? i'm using poltergeist capybara, env.rb has:

require 'capybara/poltergeist' capybara.javascript_driver = :poltergeist 

if use launchy open in browser have white page (???) , no other usable information in test.log...

can me on how debug this? tia


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -