Sha256: 785cc14e41b6ac52794e28b552537538c21915b50cc2d965a2d4d1e341f0ff1b
Contents?: true
Size: 333 Bytes
Versions: 32
Compression:
Stored size: 333 Bytes
Contents
require "test_helper" class AttachmentTest < ActiveSupport::TestCase should "generate a snippet" do attachment = Attachment.new( title: "Supporting attachment", filename: "document.pdf" ) expected_snippet = "[InlineAttachment:document.pdf]" assert_equal expected_snippet, attachment.snippet end end
Version data entries
32 entries across 32 versions & 1 rubygems