Sha256: 591e58a49265b9334405f79ea5ed881961aeddd32ba5e54b30f8270abff88888

Contents?: true

Size: 734 Bytes

Versions: 16

Compression:

Stored size: 734 Bytes

Contents

# require 'test_helper'
#
# class TestResource < MLS::Resource
# end
#
# class MLS::ResourceTest < Minitest::Test
#
#   test "subclasses extend MLS::Model" do
#     assert TestResource.kind_of?(MLS::Model)
#   end
#
#   test ""
#
#   def test_instance_methods
#     resource = TestResource.new
#
#     assert resource.respond_to?(:new_record?)
#     assert resource.respond_to?(:persisted?)
#     assert resource.respond_to?(:save)
#
#     assert resource.respond_to?(:attributes)
#     assert resource.respond_to?(:set_default_values)
#     assert resource.respond_to?(:update_attributes)
#
#     assert resource.respond_to?(:to_hash)
#     assert resource.respond_to?(:to_key)
#   end
#
#   test 'save returns true || false'
#
# end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
mls-1.9.0 test/mls/resource_test.rb
mls-1.8.0 test/mls/resource_test.rb
mls-1.7.0 test/mls/resource_test.rb
mls-1.6.0 test/mls/resource_test.rb
mls-1.5.1 test/mls/resource_test.rb
mls-1.5.0 test/mls/resource_test.rb
mls-1.4.3 test/mls/resource_test.rb
mls-1.4.0 test/mls/resource_test.rb
mls-1.3.0 test/mls/resource_test.rb
mls-1.2.0 test/mls/resource_test.rb
mls-1.1.4 test/mls/resource_test.rb
mls-1.1.3 test/mls/resource_test.rb
mls-1.1.2 test/mls/resource_test.rb
mls-1.1.1 test/mls/resource_test.rb
mls-1.1.0 test/mls/resource_test.rb
mls-1.0.0 test/mls/resource_test.rb