Sha256: 1aaa07f42a4407ac643f55fb5432a6d7ff4d09fe4fe94f28a4294c66767df15c

Contents?: true

Size: 555 Bytes

Versions: 2

Compression:

Stored size: 555 Bytes

Contents

require 'test_helper'

class GomaTest < ActiveSupport::TestCase
  test "goma class method is introduced to ActiveRecord::Base" do
    assert ActiveRecord::Base.respond_to?(:goma)
  end

  test "should have module existence methods" do
    assert User.respond_to?(:password_authenticatable?)
    assert User.respond_to?(:confirmable?)
    assert User.respond_to?(:recoverable?)
    assert User.respond_to?(:timeoutable?)
    assert User.respond_to?(:trackable?)
    assert User.respond_to?(:omniauthable?)
    assert User.respond_to?(:lockable?)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
goma-0.0.1.rc3 test/models/goma_test.rb
goma-0.0.1.rc2 test/models/goma_test.rb