Skip to content

Instantly share code, notes, and snippets.

@smills24
Created February 1, 2012 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smills24/1719776 to your computer and use it in GitHub Desktop.
Save smills24/1719776 to your computer and use it in GitHub Desktop.
Failing Capybara/Selenium test
require 'spec_helper'
describe "Failing test" do, :type => :request do
before(:all) do
visit "http://www.google.com"
end
it "passes the first test" do
page.should have_css("input")
end
it "fails the second test" do
page.should have_css("input")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment