Sha256: d11a870dc0ec4cc44ebb359b5e80efb9cd2e94232f26c401e7ec2f64ddf83aca

Contents?: true

Size: 413 Bytes

Versions: 6

Compression:

Stored size: 413 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
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
optimizely_server_side-0.0.8 spec/optimizely_server_side/configuration_spec.rb
optimizely_server_side-0.0.7 spec/optimizely_server_side/configuration_spec.rb
optimizely_server_side-0.0.6 spec/optimizely_server_side/configuration_spec.rb
optimizely_server_side-0.0.5 spec/optimizely_server_side/configuration_spec.rb
optimizely_server_side-0.0.4 spec/optimizely_server_side/configuration_spec.rb
optimizely_server_side-0.0.3 spec/optimizely_server_side/configuration_spec.rb