mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Small require tweak
This commit is contained in:
parent
7b02830985
commit
5d8f14e573
5 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
||||||
require 'culerity'
|
require 'culerity'
|
||||||
require 'rack'
|
|
||||||
|
|
||||||
class Webcat::Driver::Culerity
|
class Webcat::Driver::Culerity
|
||||||
class Node < Struct.new(:node)
|
class Node < Struct.new(:node)
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
require 'net/http'
|
require 'net/http'
|
||||||
|
require 'rack'
|
||||||
|
|
||||||
class Webcat::Server
|
class Webcat::Server
|
||||||
attr_reader :app
|
attr_reader :app
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
require File.expand_path('spec_helper', File.dirname(__FILE__))
|
require File.expand_path('spec_helper', File.dirname(__FILE__))
|
||||||
require 'drivers_spec'
|
|
||||||
|
|
||||||
describe Webcat::Driver::Culerity do
|
describe Webcat::Driver::Culerity do
|
||||||
before do
|
before do
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
require File.expand_path('spec_helper', File.dirname(__FILE__))
|
require File.expand_path('spec_helper', File.dirname(__FILE__))
|
||||||
require 'drivers_spec'
|
|
||||||
|
|
||||||
describe Webcat::Driver::RackTest do
|
describe Webcat::Driver::RackTest do
|
||||||
before do
|
before do
|
||||||
|
|
|
@ -6,5 +6,6 @@ require 'webcat'
|
||||||
require 'sinatra/base'
|
require 'sinatra/base'
|
||||||
require 'rack'
|
require 'rack'
|
||||||
require 'test_app'
|
require 'test_app'
|
||||||
|
require 'drivers_spec'
|
||||||
|
|
||||||
alias :running :lambda
|
alias :running :lambda
|
Loading…
Reference in a new issue