Sha256: 28d46e3c1fbc6b3096e00b22b838b12a3abb68e90baea164a91def95dd4d97f0
Contents?: true
Size: 538 Bytes
Versions: 5
Compression:
Stored size: 538 Bytes
Contents
# Encoding: utf-8 require 'spec_helper' require 'chemistrykit/split_testing/provider_factory' require 'chemistrykit/config/split_testing' describe ChemistryKit::SplitTesting::ProviderFactory do it 'should return the correctly configured provider based on configuration' do config = ChemistryKit::Config::SplitTesting.new(provider: 'optimizely', opt_out: true) provider = ChemistryKit::SplitTesting::ProviderFactory.build(config) provider.should be_an_instance_of ChemistryKit::SplitTesting::OptimizelyProvider end end
Version data entries
5 entries across 5 versions & 1 rubygems