spec/mixpanel/tracker_spec.rb in mixpanel-1.0.0 vs spec/mixpanel/tracker_spec.rb in mixpanel-1.1.1

- old
+ new

@@ -5,10 +5,10 @@ @mixpanel = Mixpanel::Tracker.new(MIX_PANEL_TOKEN, @env = {"REMOTE_ADDR" => "127.0.0.1"}) end context "Initializing object" do it "should have an instance variable for token and events" do - @mixpanel.instance_variables.should include("@token", "@env") + @mixpanel.instance_variables.map(&:to_s).should include("@token", "@env") end end context "Cleaning appended events" do it "should clear the queue" do