Sha256: be58bf62c91e891fd4dde20f4226cbc966b735108f72adeb650aecc0dea4c797

Contents?: true

Size: 376 Bytes

Versions: 22

Compression:

Stored size: 376 Bytes

Contents

require 'test_helper'

class OproTest < ActiveSupport::TestCase
  test "truth" do
    assert_kind_of Module, Opro
  end



end



class OproSetupTest < ActiveSupport::TestCase

  test 'setting auth_strategy :devise' do
    Opro.setup do |config|
      config.auth_strategy :devise
    end
    assert Opro.login_method.present?
    assert Opro.logout_method.present?
  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
opro-0.5.0 test/opro_test.rb
opro-0.4.3 test/opro_test.rb
opro-0.4.2 test/opro_test.rb
opro-0.4.1 test/opro_test.rb
opro-0.4.0 test/opro_test.rb
opro-0.3.3 test/opro_test.rb
opro-0.3.2 test/opro_test.rb
opro-0.3.1 test/opro_test.rb
opro-0.3.0 test/opro_test.rb
opro-0.3.0.pre3 test/opro_test.rb
opro-0.3.0.pre2 test/opro_test.rb
opro-0.3.0.pre1 test/opro_test.rb
opro-0.3.0.pre test/opro_test.rb
opro-0.2.1.pre test/opro_test.rb
opro-0.2.0 test/opro_test.rb
opro-0.1.0 test/opro_test.rb
opro-0.0.3 test/opro_test.rb
opro-0.0.2 test/opro_test.rb
opro-0.0.1 test/opro_test.rb
opro-0.0.1.pre1.0.2 test/opro_test.rb