1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Move test sessions out of spec helper

This commit is contained in:
Jonas Nicklas 2012-10-30 14:32:47 +01:00
parent 20a40b38b4
commit 72368aa693
3 changed files with 8 additions and 5 deletions

View file

@ -1,5 +1,9 @@
require 'spec_helper'
module TestSessions
RackTest = Capybara::Session.new(:rack_test, TestApp)
end
Capybara::SpecHelper.run_specs TestSessions::RackTest, "RackTest", :skip => [
:js,
:screenshot,

View file

@ -1,5 +1,9 @@
require 'spec_helper'
module TestSessions
Selenium = Capybara::Session.new(:selenium, TestApp)
end
Capybara::SpecHelper.run_specs TestSessions::Selenium, "selenium", :skip => [
:response_headers,
:status_code,

View file

@ -1,6 +1 @@
require 'capybara/spec/spec_helper'
module TestSessions
RackTest = Capybara::Session.new(:rack_test, TestApp)
Selenium = Capybara::Session.new(:selenium, TestApp)
end