Sha256: a60ff8ac305ece57c9faf9139c11541e32e6616963e8cb01c5f3720ed137720c

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

require 'test_helper'

class RailsEngineDecoratorsTest < ActiveSupport::TestCase
  CLASSES = %w{ Post Foo::Bar PostsController Foo::BarController }

  test "truth" do
    assert_kind_of Module, RailsEngineDecorators
  end

  test "classes should be decorated" do
    CLASSES.each do |klass|
      assert klass.constantize.new.decorated?
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_engine_decorators-1.0.0 test/rails_engine_decorators_test.rb
rails_engine_decorators-0.0.1 test/rails_engine_decorators_test.rb