Sha256: 2c7c9b9fc71e83f2d9d81fe17433ba6fcda15902109554537fd3fadfa10f1139

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

require 'spec_helper'

RSpec.describe OptimizelyServerSide::Configuration do

  subject { OptimizelyServerSide::Configuration.new }

  describe '#config_endpoint' do

    it 'has a default value of http://foo.com' do
      expect(subject.config_endpoint).to eq('http://foo.com')
    end

  end

  describe '#visitor_id' do

    it 'defaults to nil' do
      expect(subject.visitor_id).to be_nil
    end
  end


  describe '#event_dispatcher' do

    it 'defaults to nil' do
      expect(subject.visitor_id).to be_nil
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
optimizely_server_side-0.0.9 spec/optimizely_server_side/configuration_spec.rb