clarion/spec/features/landing_page_spec.rb

17 lines
344 B
Ruby
Raw Permalink Normal View History

2018-11-11 00:07:00 +02:00
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