Sha256: 036723bb4d22238cfe67dd6a04087d9be0b7a7f6b2c39d6b6bfe9f6b40cb4a65

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

class ExtraTest < StrategyTestCase
  def setup
    super
    @raw_info = { 'name' => 'Fred Smith' }
    strategy.stubs(:raw_info).returns(@raw_info)
  end

  test 'returns a Hash' do
    assert_kind_of Hash, strategy.extra
  end

  test 'contains raw info' do
    assert_equal({ 'raw_info' => @raw_info }, strategy.extra)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
omniauth-hackid-0.0.2 test/extra_test.rb
omniauth-hackid-0.0.1 test/extra_test.rb