Sha256: 8254818f31491fa25be4afda56932955faceeec6f131837d63e315c92ab9e8ca

Contents?: true

Size: 589 Bytes

Versions: 8

Compression:

Stored size: 589 Bytes

Contents

require "test_helper"

class ResourceTest < ActiveSupport::TestCase

  should "verify default resource configuration options" do
    assert_equal "edit", Typus::Resources.default_action_on_item
    assert_nil Typus::Resources.end_year
    assert_equal 15, Typus::Resources.form_rows
    assert_equal "edit", Typus::Resources.action_after_save
    assert_equal 5, Typus::Resources.minute_step
    assert_equal "nil", Typus::Resources.human_nil
    assert !Typus::Resources.only_user_items
    assert_equal 15, Typus::Resources.per_page
    assert_nil Typus::Resources.start_year
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
typus-3.0.2 test/lib/typus/resource_test.rb
typus-3.0.1 test/lib/typus/resource_test.rb
typus-3.0.0 test/lib/typus/resource_test.rb
typus-1.0.0.pre13 test/lib/typus/resource_test.rb
typus-1.0.0.pre12 test/lib/typus/resource_test.rb
typus-1.0.0.pre11 test/lib/typus/resource_test.rb
typus-1.0.0.pre10 test/lib/typus/resource_test.rb
typus-1.0.0.pre9 test/lib/typus/resource_test.rb