Sha256: 8a92a46975a8445d620fa5866df20633a971e4f93a7721ac80b70f11d03c81eb
Contents?: true
Size: 643 Bytes
Versions: 6
Compression:
Stored size: 643 Bytes
Contents
require 'spec_helper' describe Evergreen, ".application" do include Capybara it "should show a successful test run" do visit("/") click_link("testing_spec.js") page.should have_content("2 specs, 0 failures") end it "should show a successful test run for a coffeescript spec" do visit("/") click_link("coffeescript_spec.coffee") page.should have_content("2 specs, 0 failures") end it "should show errors for a failing spec" do visit("/") click_link("failing_spec.js") page.should have_content("2 specs, 1 failure") page.should have_content("Expected 'bar' to equal 'noooooo'.") end end
Version data entries
6 entries across 6 versions & 3 rubygems