From: =?utf-8?q?J=C3=A9r=C3=A9my_Bobbio?= <lunar@debian.org>
Date: Fri, 22 Mar 2013 09:10:43 +0000
Subject: Inhibit tests for the :selenium driver

The :selenium driver is deactivated until ruby-selenium-webdriver lands in
Debian (see #703492), so let's just skip its tests.
---
 spec/selenium_spec.rb |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/spec/selenium_spec.rb b/spec/selenium_spec.rb
index 6b94d59..2bc7219 100644
--- a/spec/selenium_spec.rb
+++ b/spec/selenium_spec.rb
@@ -1,5 +1,4 @@
 require 'spec_helper'
-require "selenium-webdriver"
 
 Capybara.register_driver :selenium_focus do |app|
   profile = Selenium::WebDriver::Firefox::Profile.new
@@ -7,6 +6,7 @@ Capybara.register_driver :selenium_focus do |app|
   Capybara::Selenium::Driver.new(app, browser: :firefox, profile: profile)
 end
 
+<<PENDING
 module TestSessions
   Selenium = Capybara::Session.new(:selenium_focus, TestApp)
 end
@@ -16,8 +16,11 @@ Capybara::SpecHelper.run_specs TestSessions::Selenium, "selenium", :skip => [
   :status_code,
   :trigger
 ]
+PENDING
 
 describe Capybara::Session do
+pending "waiting for a ruby-selenium-driver package in Debian" do
+
   context 'with selenium driver' do
     before do
       @session = TestSessions::Selenium
@@ -57,3 +60,4 @@ describe Capybara::Session do
     end
   end
 end
+end
