Capybaraをコンソールで試す
こんな感じで試せる
>|ruby||
session = Capybara::Session.new(:rack_test, YourApp::Application)
session.visit "/"
session.fill_in "login", with: "login"
|
こんな感じで試せる
>|ruby||
session = Capybara::Session.new(:rack_test, YourApp::Application)
session.visit "/"
session.fill_in "login", with: "login"
|