Rspec cycle in BDD for view-oriented stuff in rails

I’m starting writing my first rails app in real bdd, i need some advice

  • i’ve written spec in capybara for ‘account’ feature with ‘create
    account’ scenario - first i visit homepage, so i’ve created controller
    and spec to it, that get ‘home#index’ is successfull, now first step
    (visit homepage) works, second step - click_link ‘Sign in’, so i need
    now to write spec for layout/application.html view, that there is
    with “Sign in” content? how is approach to such view-oriented things in
    bdd process?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs