Sha256: 56f6f6af8a668c1756ce3a20ae1f595ea55d033f92f98f7459ed0bc85f42bde7

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

require 'assert'
require 'deas-erbtags'

module Deas::ErbTags

  class BaseTests < Assert::Context
    desc "Deas::ErbTags"
    setup do
      @template = Factory.template(Deas::ErbTags)
    end
    subject{ @template }

    should have_imeths :tag, :link_to, :mail_to, :image_tag

    should "include all of the individual modules" do
      exp_modules = [
        Tag, CaptureTag, LinkTo, MailTo, ImageTag
      ]

      exp_modules.each do |m|
        assert_includes m, subject.class.included_modules
      end
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
deas-erbtags-0.2.0 test/unit/deas-erbtags_tests.rb