Sha256: 044ba939e66daafb2d050a35ee344cf80fae8f03cb1545f4019095bdbb43999e

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

require "test_helper"

class IntegrationsTest < TestCase
  def setup
    @integrations = [
      FormObject::Integrations::Base,
      FormObject::Integrations::ActiveModel,
      FormObject::Integrations::ActiveRecord
    ]
    @base_form = BaseAuthForm.new(email: "test@example.com", name: "test")
    @twitter_form = TwitterAuthForm.new
  end

  def test_integrations_should_bee
    FormObject::Integrations.all.each do |integration|
      assert_includes @integrations, integration
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
form_object-0.1.1 test/lib/integrations_test.rb