mastodon/spec/system/unlogged_spec.rb

18 lines
325 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'UnloggedBrowsing', :js, :streaming do
subject { page }
before do
visit root_path
end
it 'loads the home page' do
expect(subject).to have_css('div.app-holder')
expect(subject).to have_css('div.columns-area__panels__main')
end
end