Sha256: 5e0beb4bd6f9ffdb80108fd631317d1d32e6a86bb37bac7f3ccb68ac330eaa8b

Contents?: true

Size: 399 Bytes

Versions: 14

Compression:

Stored size: 399 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper.rb'

module ActsAsAuthenticTest
  class BaseTest < ActiveSupport::TestCase
    def test_acts_as_authentic
      assert_nothing_raised do
        User.acts_as_authentic do
        end
      end
    end

    def test_acts_as_authentic_with_old_config
      assert_raise(ArgumentError) do
        User.acts_as_authentic({})
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
refinerycms-0.9.6.34 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.33 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.32 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.31 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.30 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.29 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.28 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.27 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.26 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.25 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.24 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.23 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.22 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb
refinerycms-0.9.6.21 vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb