require 'features_helper'

describe 'persistence home' do
  let!(:chain) { create(:persistence_chain) }

  it 'visiting halted persistence Home View as not signed in user', :vcr do
    visit "persistence/chains/#{chain.slug}"

    expect(page).to have_content(chain.name)
    expect(page).to have_content('Validators in Last Round')
    expect(page).to have_content('ROUND INFO')
  end
end
