Sha256: 51284d47df2b87aca6c9ec259292b65a01e9d28b3a967e4188206e201ce34a21

Contents?: true

Size: 352 Bytes

Versions: 7

Compression:

Stored size: 352 Bytes

Contents

require 'spec_helper'
require 'hooloo'

describe Hooloo do
  it 'should fetch three tokens' do
    Hooloo.tokens.length.must_equal 3
  end
  it 'should cache the tokens in memory' do
    tokens = Hooloo.tokens
    Hooloo.tokens.must_equal tokens
  end
  it 'should refresh tokens when we tell it to' do
    Hooloo.tokens!.length.must_equal 3
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hooloo-0.3.2 spec/hooloo/hooloo_spec.rb
hooloo-0.3.1 spec/hooloo/hooloo_spec.rb
hooloo-0.3.0 spec/hooloo/hooloo_spec.rb
hooloo-0.2.1 spec/hooloo/hooloo_spec.rb
hooloo-0.2.0 spec/hooloo/hooloo_spec.rb
hooloo-0.1.1 spec/hooloo/hooloo_spec.rb
hooloo-0.1.0 spec/hooloo/hooloo_spec.rb