Sha256: 327ffb1596105e72ba4c3637d71b90fd0f789fd61af658533c5b8eeea8614c48
Contents?: true
Size: 486 Bytes
Versions: 3
Compression:
Stored size: 486 Bytes
Contents
require 'test_helper' class GoogleAnalyticsControllerTest < ActionController::TestCase tests Garails::GoogleAnalyticsController context "GET to :utm" do setup { get :utm, :format => :gif } should respond_with :success should assign_to(:visitor_id) end context "GET to :utm with guid" do setup do request.env["HTTP_X_DCMGUID"] = "blah" get :utm, :format => :gif end should respond_with :success should assign_to(:visitor_id) end end
Version data entries
3 entries across 3 versions & 1 rubygems