Sha256: eaec2ecf7332e3fa3856f07aac60d8801b2d90d39e0156caaa77f94a6c1505bc

Contents?: true

Size: 373 Bytes

Versions: 65

Compression:

Stored size: 373 Bytes

Contents

require File.join(File.dirname(__FILE__), '../test_helper.rb')

class Config::BaseTest < Test::Unit::TestCase
  def setup
    @base = ActiveScaffold::Config::Base.new
  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

Version data entries

65 entries across 65 versions & 4 rubygems

Version Path
active_scaffold_vho-4.0.0 test/config/base_test.rb
active_scaffold_vho-3.2.14 test/config/base_test.rb
active_scaffold_vho-3.2.13 test/config/base_test.rb
active_scaffold_vho-3.2.12 test/config/base_test.rb
active_scaffold_vho-3.2.11 test/config/base_test.rb
active_scaffold_vho-3.2.10 test/config/base_test.rb
active_scaffold_vho-3.2.9 test/config/base_test.rb
active_scaffold_vho-3.2.8 test/config/base_test.rb
active_scaffold_vho-3.2.7 test/config/base_test.rb
active_scaffold_vho-3.2.6 test/config/base_test.rb
active_scaffold_vho-3.2.5 test/config/base_test.rb
active_scaffold_vho-3.2.4 test/config/base_test.rb
active_scaffold_vho-3.2.3 test/config/base_test.rb
active_scaffold_vho-3.2.2 test/config/base_test.rb
active_scaffold_vho-3.2.1 test/config/base_test.rb
active_scaffold_vho-3.2.0 test/config/base_test.rb
active_scaffold_vho-3.0.31 test/config/base_test.rb
active_scaffold_vho-3.1.8 test/config/base_test.rb
active_scaffold_vho-3.0.30 test/config/base_test.rb
active_scaffold_vho-3.0.29 test/config/base_test.rb