Description: don't test against listen
 This patch disables testing against listen. spring seems to depend on listen
 1.0, while we are already at listen 2.4+, so something might be going wrong
 there.
 .
 Luckily listen is not the default backend.
Author: Antonio Terceiro <terceiro@debian.org>

--- ruby-spring-1.1.3.orig/Gemfile
+++ ruby-spring-1.1.3/Gemfile
@@ -2,5 +2,3 @@ source 'https://rubygems.org'
 
 # Specify your gem's dependencies in spring.gemspec
 gemspec
-
-gem 'listen', "~> 1.0", :require => false
--- ruby-spring-1.1.3.orig/test/unit/watcher_test.rb
+++ ruby-spring-1.1.3/test/unit/watcher_test.rb
@@ -5,7 +5,6 @@ require "timeout"
 require "active_support/core_ext/numeric/time"
 require "spring/watcher"
 require "spring/watcher/polling"
-require "spring/watcher/listen"
 
 module WatcherTests
   LATENCY = 0.001
@@ -160,31 +159,6 @@ module WatcherTests
   end
 end
 
-class ListenWatcherTest < ActiveSupport::TestCase
-  include WatcherTests
-
-  def watcher_class
-    Spring::Watcher::Listen
-  end
-
-  test "root directories" do
-    begin
-      other_dir_1 = File.realpath(Dir.mktmpdir)
-      other_dir_2 = File.realpath(Dir.mktmpdir)
-      File.write("#{other_dir_1}/foo", "foo")
-      File.write("#{dir}/foo", "foo")
-
-      watcher.add "#{other_dir_1}/foo"
-      watcher.add other_dir_2
-      watcher.add "#{dir}/foo"
-
-      assert_equal [dir, other_dir_1, other_dir_2].sort, watcher.base_directories.sort
-    ensure
-      FileUtils.rmdir other_dir_1
-      FileUtils.rmdir other_dir_2
-    end
-  end
-end
 
 class PollingWatcherTest < ActiveSupport::TestCase
   include WatcherTests
