Sha256: 23379d7b2db00d104e969568465a5107e371cb060ada6f9dd91e83ed30b1dc84
Contents?: true
Size: 438 Bytes
Versions: 2
Compression:
Stored size: 438 Bytes
Contents
require 'rails_helper' describe 'authorization' do let(:account) { FactoryGirl.create(:confirmed_account) } it 'logs in' do visit theblog.admin_root_path expect(page).to have_content('Log in') fill_in('Email', with: account.email) fill_in('Password', with: 'qwertyui') click_on('Log in') expect(page).to have_content('Signed in successfully') expect(page).to have_content('Admin Dashboard') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
theblog-0.0.2.3 | spec/features/admin/authorization_spec.rb |
theblog-0.0.2.2 | spec/features/admin/authorization_spec.rb |