From 36b981fd2ddc6c491a9da1c5410ce802ecb13e65 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Wed, 19 Mar 2014 11:42:30 -0400 Subject: [PATCH] workbench: Add Capybara gem for integration tests. --- apps/workbench/Gemfile | 8 ++++++-- apps/workbench/Gemfile.lock | 23 +++++++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/apps/workbench/Gemfile b/apps/workbench/Gemfile index 6ae12f75db..488a355e8e 100644 --- a/apps/workbench/Gemfile +++ b/apps/workbench/Gemfile @@ -23,6 +23,12 @@ group :assets do gem 'uglifier', '>= 1.0.3' end +group :test do + gem 'rvm-capistrano' + gem 'selenium-webdriver' + gem 'capybara' +end + gem 'jquery-rails' gem 'bootstrap-sass', '~> 3.1.0' gem 'bootstrap-x-editable-rails' @@ -45,8 +51,6 @@ gem 'less-rails' # To use debugger #gem 'byebug' -gem 'rvm-capistrano', :group => :test - gem 'passenger', :group => :production gem 'andand' gem 'RedCloth' diff --git a/apps/workbench/Gemfile.lock b/apps/workbench/Gemfile.lock index c7ffeb0057..463fa7d3dc 100644 --- a/apps/workbench/Gemfile.lock +++ b/apps/workbench/Gemfile.lock @@ -42,6 +42,14 @@ GEM net-sftp (>= 2.0.0) net-ssh (>= 2.0.14) net-ssh-gateway (>= 1.1.0) + capybara (2.2.1) + mime-types (>= 1.16) + nokogiri (>= 1.3.3) + rack (>= 1.0.0) + rack-test (>= 0.5.4) + xpath (~> 2.0) + childprocess (0.5.1) + ffi (~> 1.0, >= 1.0.11) coffee-rails (3.2.2) coffee-script (>= 2.2.0) railties (~> 3.2.0) @@ -54,6 +62,7 @@ GEM deep_merge (1.0.1) erubis (2.7.0) execjs (2.0.2) + ffi (1.9.3) highline (1.6.20) hike (1.2.3) httpclient (2.3.4.1) @@ -73,6 +82,7 @@ GEM mime-types (~> 1.16) treetop (~> 1.4.8) mime-types (1.25) + mini_portile (0.5.2) multi_json (1.8.2) net-scp (1.1.2) net-ssh (>= 2.6.5) @@ -81,6 +91,8 @@ GEM net-ssh (2.7.0) net-ssh-gateway (1.2.0) net-ssh (>= 2.6.5) + nokogiri (1.6.1) + mini_portile (~> 0.5.0) oj (2.1.7) passenger (4.0.23) daemon_controller (>= 1.1.0) @@ -117,6 +129,7 @@ GEM rdoc (3.12.2) json (~> 1.4) ref (1.0.5) + rubyzip (1.1.0) rvm-capistrano (1.5.1) capistrano (~> 2.15.4) sass (3.2.12) @@ -124,6 +137,11 @@ GEM railties (~> 3.2.0) sass (>= 3.1.10) tilt (~> 1.3) + selenium-webdriver (2.40.0) + childprocess (>= 0.5.0) + multi_json (~> 1.0) + rubyzip (~> 1.0) + websocket (~> 1.0.4) sprockets (2.2.2) hike (~> 1.2) multi_json (~> 1.0) @@ -144,6 +162,9 @@ GEM uglifier (2.3.1) execjs (>= 0.3.0) json (>= 1.8.0) + websocket (1.0.7) + xpath (2.0.0) + nokogiri (~> 1.3) PLATFORMS ruby @@ -153,6 +174,7 @@ DEPENDENCIES andand bootstrap-sass (~> 3.1.0) bootstrap-x-editable-rails + capybara coffee-rails (~> 3.2.0) deep_merge httpclient @@ -167,6 +189,7 @@ DEPENDENCIES rvm-capistrano sass sass-rails (~> 3.2.0) + selenium-webdriver sqlite3 themes_for_rails therubyracer -- 2.39.5