Sha256: e256b86537bfa571d31f7003aab48045be323a167d0c8356aac6257c665a7962

Contents?: true

Size: 488 Bytes

Versions: 163

Compression:

Stored size: 488 Bytes

Contents

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

class Config::UpdateTest < Test::Unit::TestCase
  def setup
    @config = ActiveScaffold::Config::Core.new :model_stub
    @update = @config.update
    
    @config._load_action_columns
  end
  
  def test__params_for_columns__returns_all_params
    @config.columns[:a].params.add :keep_a, :a_temp
    
    assert @config.columns[:a].params.include?(:keep_a)
    assert @config.columns[:a].params.include?(:a_temp)
  end
end

Version data entries

163 entries across 163 versions & 6 rubygems

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