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:
parent
20a40b38b4
commit
72368aa693
3 changed files with 8 additions and 5 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1,6 +1 @@
|
|||
require 'capybara/spec/spec_helper'
|
||||
|
||||
module TestSessions
|
||||
RackTest = Capybara::Session.new(:rack_test, TestApp)
|
||||
Selenium = Capybara::Session.new(:selenium, TestApp)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue