Skip to content

Instantly share code, notes, and snippets.

@edzhelyov
Created January 6, 2012 12:21

Revisions

  1. edzhelyov created this gist Jan 6, 2012.
    15 changes: 15 additions & 0 deletions test.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    require 'test_helper'

    class AnalyticsTaggingTest < ActionDispatch::IntegrationTest
    include Capybara::DSL

    context "The header of the page" do

    should "include tracking meta tag" do
    visit('/')

    assert page.has_selector?('meta[charset="utf-8"]')
    end

    end
    end