Sha256: d5631b19ae23dda9e97ea2e64163fd7f27fb16b67e57ec340910480ca7ca8290

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

require 'test_helper'

module Integrations
  # Test ActiveModel integration
  class ActiveModelTest < ::TestCase
    # Test setup
    def setup
      @integration_name = :active_model
    end

    def test_should_integration_finded_by_name
      assert_equal FormObject::Integrations::ActiveModel, FormObject::Integrations.find_by_name(@integration_name)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
form_object-0.1.1 test/lib/integrations/active_model_test.rb