Sha256: c1c00eca7514acb46eecd83d568ffe7e34c17d03c5e3a82cc701e60b081b5fdb
Contents?: true
Size: 370 Bytes
Versions: 8
Compression:
Stored size: 370 Bytes
Contents
require 'spec_helper' describe Staccato do context 'configuring a tracker' do let(:tracker) {Staccato.tracker 'UA-XXXX-Y'} it 'has an assigned id' do tracker.id.should eq('UA-XXXX-Y') end it 'uses a uuid for the client_id' do SecureRandom.stubs(:uuid).returns("a-uuid") tracker.client_id.should eq('a-uuid') end end end
Version data entries
8 entries across 8 versions & 1 rubygems