Sha256: 134afa504640bec5de23c3ffa61cc349484cda082a33606a21f2a069e25d3578
Contents?: true
Size: 732 Bytes
Versions: 111
Compression:
Stored size: 732 Bytes
Contents
require 'test_helper' class TransactionEditionTest < ActiveSupport::TestCase setup do @artefact = FactoryGirl.create(:artefact) end context "indexable_content" do should "include the introduction without markup" do transaction = FactoryGirl.create(:transaction_edition, introduction: "## introduction", more_information: "", panopticon_id: @artefact.id) assert_equal "introduction", transaction.indexable_content end should "include the more_information without markup" do transaction = FactoryGirl.create(:transaction_edition, more_information: "## more info", introduction: "", panopticon_id: @artefact.id) assert_equal "more info", transaction.indexable_content end end end
Version data entries
111 entries across 111 versions & 1 rubygems