Created
July 20, 2012 03:03
-
-
Save marsbomber/3148406 to your computer and use it in GitHub Desktop.
Spec failing on CI
This file contains 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 'spec_helper' | |
describe "RequestsDashboard", js: true do | |
let!(:req_processing_one) { create(:request, state: "processing", url: "processing-job-url-1") } | |
context "Processing requests" do | |
it "displays request details modal" do | |
find(:xpath, "//a[@href='#{job_request_admin_request_path(req_processing_one)}']").click | |
# this is passing on | |
# Local dev (OSX) | |
# CI server (Gentoo) as a single spec | |
# CI server (Gentoo) running as part of a test suite | |
find(:xpath, "//dd").should have_content req_processing_one.id | |
# this is passing on | |
# Local dev (OSX) | |
# CI server (Gentoo) as a single spec | |
# this is FAILING on | |
# CI server (Gentoo) running as part of a test suite with the following error | |
# Failure/Error: find(:xpath, "//dd").text.should have_content req_processing_one.id | |
# expected there to be content "5008ca2ce2544a68f8000038" in "127.0.0.1" | |
# find(:xpath, "//dd").text.should have_content req_processing_one.id | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment