Sha256: d55fc3409f5ff654e8c04d121d589c854059555e479b751f10f11e8f4c79de77
Contents?: true
Size: 343 Bytes
Versions: 2
Compression:
Stored size: 343 Bytes
Contents
# frozen_string_literal: true require "rails_helper" RSpec.feature "Home page", type: :feature do describe "when on home page path" do it "redirects to /" do home = create(:page, :homepage) visit archangel.frontend_page_path(home.path) expect(page.current_path).to eq archangel.frontend_root_path end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
archangel-0.0.8 | spec/features/frontend/pages/homepage_redirect_spec.rb |
archangel-0.0.7 | spec/features/frontend/homepage_redirect_spec.rb |