clarion/spec/features/landing_page_spec.rb
2018-11-25 13:46:22 +02:00

17 lines
344 B
Ruby

require "rails_helper"
feature 'Landing page' do
before do
Rails.application.load_seed
sign_in_as_admin
create_new_conference
sign_out
end
it 'displays information about the conference' do
visit root_path
expect(page).to have_content I18n.t(:home_title, conference: "FooConf #{1.year.from_now.year}")
end
end