2018-11-11 00:07:00 +02:00
|
|
|
require "rails_helper"
|
|
|
|
|
2019-04-28 21:10:54 +03:00
|
|
|
feature "Landing page" do
|
2018-11-11 00:07:00 +02:00
|
|
|
before do
|
|
|
|
Rails.application.load_seed
|
|
|
|
sign_in_as_admin
|
|
|
|
create_new_conference
|
|
|
|
sign_out
|
|
|
|
end
|
|
|
|
|
2019-04-28 21:10:54 +03:00
|
|
|
it "displays information about the conference" do
|
2018-11-11 00:07:00 +02:00
|
|
|
visit root_path
|
|
|
|
expect(page).to have_content I18n.t(:home_title, conference: "FooConf #{1.year.from_now.year}")
|
|
|
|
end
|
|
|
|
end
|