Sha256: b20f798e703a7d21a394f833637af7e6161047d09df1795a40a612cd70eef797
Contents?: true
Size: 360 Bytes
Versions: 3
Compression:
Stored size: 360 Bytes
Contents
require 'rails_helper' RSpec.describe "Login", :type => :feature do it "login" do user = create(:web_admin_user) visit web_admin.root_path expect(page).to have_content "Acesso" fill_in 'Email', with: "user@email.com" fill_in 'Senha', with: "12345678" click_button 'Entrar' expect(page).to have_content "Bem vindo" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
web_admin-0.1.0 | spec/features/admin_web/login_spec.rb |
web_admin-0.0.2 | spec/features/admin_web/login_spec.rb |
web_admin-0.0.1 | spec/features/admin_web/login_spec.rb |