Sha256: 91781f0bd6ef74450bdb657185b712d0a3a6e76475e29905f9b22b2140c3ad95
Contents?: true
Size: 461 Bytes
Versions: 3
Compression:
Stored size: 461 Bytes
Contents
require 'spec_helper' module MixpanelTracker describe MixpanelTracker do let (:config) { Spree::Mixpanel::Config } it "is invalid without a connection token" do config[:connection_token] = nil expect { MixpanelTracker.tracker }.to raise_error(MixpanelApiError) end it "is valid with a connection token" do config[:connection_token] = "TOKEN" expect { MixpanelTracker.tracker }.to_not raise_error end end end
Version data entries
3 entries across 3 versions & 1 rubygems