Sha256: e5f53cce88f3548b1314cd3d194b49ac1c499789be3989fee2b0678e672b62ca
Contents?: true
Size: 556 Bytes
Versions: 4
Compression:
Stored size: 556 Bytes
Contents
# coding: utf-8 # 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
4 entries across 4 versions & 1 rubygems