Remove dependency on Webrick for QUnit tests

This commit is contained in:
Robin Ward 2013-06-19 14:35:56 -04:00
parent 8b9b87f42e
commit d5643551cc
3 changed files with 0 additions and 5 deletions

View File

@ -118,7 +118,6 @@ group :test, :development do
gem 'rspec-given'
gem 'pry-rails'
gem 'pry-nav'
gem 'webrick'
end
group :development do

View File

@ -472,7 +472,6 @@ GEM
uglifier (2.0.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
webrick (1.3.1)
PLATFORMS
ruby
@ -573,4 +572,3 @@ DEPENDENCIES
turbo-sprockets-rails3
uglifier
vestal_versions!
webrick

View File

@ -3,7 +3,6 @@ desc "Runs the qunit test suite"
task "qunit:test" => :environment do
require "rack"
require "webrick"
unless %x{which phantomjs > /dev/null 2>&1}
abort "PhantomJS is not installed. Download from http://phantomjs.org"
@ -12,7 +11,6 @@ task "qunit:test" => :environment do
port = ENV['TEST_SERVER_PORT'] || 60099
server = Thread.new do
Rack::Server.start(:config => "config.ru",
:Logger => WEBrick::Log.new("/dev/null"),
:AccessLog => [],
:Port => port)
end