Sha256: 813c59bc51d32defb8912374b0f41c1ef7ba609d1e96568b5c7ef9434da6685e
Contents?: true
Size: 676 Bytes
Versions: 3
Compression:
Stored size: 676 Bytes
Contents
require 'test_helper' class DefaultValuesTest < ActiveSupport::TestCase DEFAULT_VALUES = { use_cancan: false, use_icons: false, icons_size: 'large', icon_new: 'plus', icon_edit: 'edit', icon_destroy: 'trash', icon_back: 'undo', use_classes: false, class_default: 'btn', class_new: 'btn-primary', class_edit: nil, class_destroy: 'btn-danger', class_back: nil, size_class_default: nil, size_class_large: 'btn-large', size_class_small: 'btn-small', size_class_mini: 'btn-mini', } DEFAULT_VALUES.each do |key, value| test key.to_s do assert_equal value, LinkToAction.send(key) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
link_to_action-0.1.3 | test/default_values_test.rb |
link_to_action-0.1.2 | test/default_values_test.rb |
link_to_action-0.1.1 | test/default_values_test.rb |