Sha256: f78c6c011a96fe2535c36f1e9a9c36a75cf944118760c472d03b0635f1c86e4c
Contents?: true
Size: 541 Bytes
Versions: 20
Compression:
Stored size: 541 Bytes
Contents
# 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" => "<p>Content</p>", "ca" => "<p>Contingut</p>", "es" => "<p>Contenido</p>" } 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
Version data entries
20 entries across 20 versions & 1 rubygems