Sha256: 395b61c033832b727d673a4987213ce5bd8490a14ee9736a692da7e9ecc5aef9
Contents?: true
Size: 649 Bytes
Versions: 1
Compression:
Stored size: 649 Bytes
Contents
require 'spec_helper' describe 'Login with openid', :type => :feature, feature: true, js: true do let(:email){ "sergey#{rnd}@makridenkov.com" } it 'allow access to secret page' do # visit home page # click secret page # click login with VK # fill email and click continue # I should be on secret page # I click on logout # I should be on ?home page? visit '/' click_on 'secret' find('.fa-vk').click fill_in('email', with: email) find('.btn-primary').click expect(page).to have_content("I am secret page for #{email}") click_on('logout') expect(current_path).to eq '/' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vxod-0.0.2 | spec/features/login_with_openid_spec.rb |