Sha256: c6f0dfa63f05752fbc633762023943c3c4be19eeed11d3023fe2bb5d14afb2d1
Contents?: true
Size: 443 Bytes
Versions: 33
Compression:
Stored size: 443 Bytes
Contents
# frozen_string_literal: true require "spec_helper" shared_examples_for "m-cell" do |model_name| context "with decorated title" do let(:cell_model) { send(model_name) } before do cell_model.update!(title: { en: "Model <strong>decorated title</strong>" }) end it "renders the escaped title correctly" do expect(cell_html.to_s).to include("Model <strong>decorated title</strong>") end end end
Version data entries
33 entries across 33 versions & 1 rubygems