Sha256: a39b2e9a88a7867008c941b2ab655925e2b65416985eed2436c8ad1007d2cea3
Contents?: true
Size: 405 Bytes
Versions: 11
Compression:
Stored size: 405 Bytes
Contents
require 'test_helper' module Config class BaseTest < Minitest::Test def setup @base = ActiveScaffold::Config::Base.new(ActiveScaffold::Config::Core.new(:model_stub)) end def test_formats assert_equal [], @base.formats @base.formats << :pdf assert_equal [:pdf], @base.formats @base.formats = [:html] assert_equal [:html], @base.formats end end end
Version data entries
11 entries across 11 versions & 1 rubygems