Sha256: 373acbee3f4de57ee6f214a9d0584bb7d916c16dd10b0ecbdf2ffb8911d9543a

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

require 'test_helper'

class UidTest < StrategyTestCase
  def setup
    super
    strategy.stubs(:raw_info).returns({ 'objectId' => '123' })
  end

  def test_return_id_from_raw_info
    assert_equal '123', strategy.uid
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
omniauth-ms-office365-2.0.2 test/strategy_test.rb
omniauth-ms-office365-1.0.2 test/strategy_test.rb
omniauth-ms-office365-1.0.1 test/strategy_test.rb
omniauth-ms-office365-1.0.0 test/strategy_test.rb
omniauth-office365-0.0.1 test/strategy_test.rb