Skip to content

Instantly share code, notes, and snippets.

@thoughtbot
Created August 4, 2009 22:29
Show Gist options
  • Save thoughtbot/162338 to your computer and use it in GitHub Desktop.
Save thoughtbot/162338 to your computer and use it in GitHub Desktop.
context "the job XML from the web service" do
setup { @xml_job = IO.read("test/fixtures/jobs/1.xml") }
should "include the recruiter's email" do
recruiter_xml = "<recruiter>[email protected]</recruiter>"
assert_contains @xml_job, recruiter_xml
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment