# frozen_string_literal: true require "spec_helper" describe "Show a page", type: :feature do include_context "feature" let(:manifest_name) { "pages" } let(:body) do { "en" => "
Content
", "ca" => "Contingut
", "es" => "Contenido
" } end let!(:page_feature) { create(:page, feature: feature, body: body) } describe "page show" do before do visit_feature end it "renders the content of the page" do expect(page).to have_content("Content") end end end