-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#246 state:resolved] added external application server if you have y…
…our own started
- Loading branch information
Mike Gaffney
committed
Jun 4, 2009
1 parent
a6a4a7c
commit 6d74cd9
Showing
5 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
require "webrat/selenium/sinatra_application_server" | ||
require "webrat/selenium/merb_application_server" | ||
require "webrat/selenium/rails_application_server" | ||
require "webrat/selenium/application_servers/external" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module Webrat | ||
module Selenium | ||
module ApplicationServers | ||
class External < ApplicationServer | ||
def start | ||
warn "Webrat Ignoring Start Of Application Server Due to External Mode" | ||
end | ||
|
||
def stop | ||
end | ||
|
||
def fail | ||
end | ||
|
||
def pid_file | ||
end | ||
|
||
def wait | ||
end | ||
|
||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') | ||
|
||
require "webrat/selenium/application_server" | ||
require "webrat/selenium/application_servers/external" | ||
|
||
describe Webrat::Selenium::ApplicationServers::External do | ||
|
||
it "should just boot up with no exceptions" do | ||
Webrat::Selenium::ApplicationServers::External.new.boot | ||
end | ||
|
||
end |