Sha256: 96aca4bf27c1eee64c8b90b4b4d0c30b86e637724c4348ec37fb5eaf394b1d1a
Contents?: true
Size: 457 Bytes
Versions: 11
Compression:
Stored size: 457 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' feature 'Welcome Page' do given(:user) { create :user } scenario 'only authenticated users can access application' do visit lcms_engine.root_path expect(page).to have_text(I18n.t('devise.failure.unauthenticated')) end scenario 'visit welcome page and see the shout out panel' do login_as user visit lcms_engine.root_path expect(page).to have_css('.text-center') end end
Version data entries
11 entries across 11 versions & 1 rubygems