Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test "should get index" do
- get teachers_url
- assert_response :success
- end
- fill_in "user_email", with: "jdonadob@xxxxx.com"
- fill_in "user_password", with: "xxxxxxx"
- click_button "Iniciar sesión"
- class SomeIntegrationTest < ActionDispatch::IntegrationTest
- include Devise::Test::IntegrationHelpers
- def setup
- sign_in FactoryBot.create(:user)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement