Sha256: cf74f108e1f22ab9c6054ee22cb150d083cb4220c2465e7d6272c1a89a8060be
Contents?: true
Size: 637 Bytes
Versions: 14
Compression:
Stored size: 637 Bytes
Contents
require 'ruby-debug' require File.join(File.dirname(__FILE__), "../lib", "mixpanel") require 'rack/test' require 'fakeweb' require 'nokogiri' Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f} MIX_PANEL_TOKEN = "e2d8b0bea559147844ffab3d607d26a6" def mixpanel_queue_should_include(mixpanel, type, *arguments) mixpanel.queue.each do |event_type, event_arguments| event_arguments.should == arguments.map{|arg| arg.to_json} event_type.should == type end end # Fakeweb FakeWeb.allow_net_connect = false FakeWeb.register_uri(:any, /http:\/\/api\.mixpanel\.com.*/, :body => "1")
Version data entries
14 entries across 14 versions & 2 rubygems