Sha256: 0111e9d54f76e409bd6f1929d5589ecbe000fcdd367962d596b26e935c2e0291

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

require 'spec_helper'

describe Mixpanel do
  context "Deprecated initialization mode" do
    it "should instantiate the object as it was doing before but drop a deprecation warning" do
      mixpanel = Mixpanel.new(MIX_PANEL_TOKEN, @env = {"REMOTE_ADDR" => "127.0.0.1"})
      mixpanel.should be_kind_of(Mixpanel::Tracker)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mixpanel-1.1.3 spec/mixpanel/mixpanel_spec.rb
mixpanel-1.1.2 spec/mixpanel/mixpanel_spec.rb
mixpanel-1.1.1 spec/mixpanel/mixpanel_spec.rb
mixpanel-1.0.0 spec/mixpanel/mixpanel_spec.rb
mixpanel-0.9.0 spec/mixpanel/mixpanel_spec.rb