Class: Config::UpdateTest
- Defined in:
- lib/six-updater-web/vendor/plugins/active_scaffold/test/config/update_test.rb
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
4 5 6 7 8 9 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/config/update_test.rb', line 4 def setup @config = ActiveScaffold::Config::Core.new :model_stub @update = @config.update @config._load_action_columns end |
#test__params_for_columns__returns_all_params ⇒ Object
11 12 13 14 15 16 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/test/config/update_test.rb', line 11 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 |