Skip to content

Instantly share code, notes, and snippets.

@onthespotqa
Created February 4, 2012 03:04
Show Gist options
  • Save onthespotqa/1734766 to your computer and use it in GitHub Desktop.
Save onthespotqa/1734766 to your computer and use it in GitHub Desktop.
test multiple sites with taza
require 'spec_helper'
require 'site1'
require 'site2'
describe "Site1Page" do
it "it should go from site 1 to site 2" do
Site1.new do |s|
s.site1_page.element.should exist
end
Site2.new do |i|
i.site2_page.element.should exist
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment