Created
January 6, 2012 12:21
-
-
Save edzhelyov/1570352 to your computer and use it in GitHub Desktop.
simple integration test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment