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-3.0.22 test/config/base_test.rb
active_scaffold-3.0.21 test/config/base_test.rb
active_scaffold_vho-3.0.20 test/config/base_test.rb
active_scaffold_vho-3.0.19 test/config/base_test.rb
active_scaffold_san-3.0.18 test/config/base_test.rb
active_scaffold_vho-3.0.18 test/config/base_test.rb
active_scaffold_vho-3.0.17 test/config/base_test.rb
active_scaffold_vho-3.0.16 test/config/base_test.rb
active_scaffold_vho-3.0.15 test/config/base_test.rb
active_scaffold_vho-3.0.14 test/config/base_test.rb
active_scaffold_vho-3.0.13 test/config/base_test.rb
active_scaffold_vho-3.0.12 test/config/base_test.rb
active_scaffold_vho-3.0.11 test/config/base_test.rb
active_scaffold-3.0.12 test/config/base_test.rb
active_scaffold-3.0.11 test/config/base_test.rb
active_scaffold_vho-3.0.10 test/config/base_test.rb
active_scaffold_vho-3.0.9 test/config/base_test.rb
active_scaffold_vho-3.0.8 test/config/base_test.rb
active_scaffold_vho-3.0.7 test/config/base_test.rb
active_scaffold_vho-3.0.6 test/config/base_test.rb