Permalink
Browse files

Skip forking spec on JRuby

* JRuby doesn't support `fork`, so this test is irrelevant.
  • Loading branch information...
1 parent d0b4950 commit 2b417defb8de99b04b62aeeea803e45ff38882ed @mhoran mhoran committed Jan 29, 2014
Showing with 17 additions and 1 deletion.
  1. +7 −0 Gemfile.lock
  2. +4 −0 gemfiles/2.0.gemfile.lock
  3. +4 −0 gemfiles/2.1.gemfile.lock
  4. +1 −1 spec/browser_spec.rb
  5. +1 −0 spec/spec_helper.rb
View
@@ -21,15 +21,21 @@ GEM
ffi (~> 1.0, >= 1.0.11)
diff-lcs (1.2.4)
ffi (1.9.0)
+ ffi (1.9.0-java)
ffi (1.9.0-x86-mingw32)
json (1.8.1)
+ json (1.8.1-java)
mime-types (2.0)
mini_magick (3.2.1)
subexec (~> 0.0.4)
mini_portile (0.5.2)
multi_json (1.7.8)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
+ nokogiri (1.6.0-java)
+ mini_portile (~> 0.5.0)
+ nokogiri (1.6.0-x86-mingw32)
+ mini_portile (~> 0.5.0)
rack (1.5.2)
rack-protection (1.3.2)
rack
@@ -61,6 +67,7 @@ GEM
nokogiri (~> 1.3)
PLATFORMS
+ java
ruby
x86-mingw32
@@ -22,12 +22,15 @@ GEM
ffi (~> 1.0, >= 1.0.11)
diff-lcs (1.2.5)
ffi (1.9.0)
+ ffi (1.9.0-java)
json (1.8.1)
+ json (1.8.1-java)
mime-types (1.23)
mini_magick (3.5.0)
subexec (~> 0.2.1)
multi_json (1.7.8)
nokogiri (1.5.9)
+ nokogiri (1.5.9-java)
rack (1.5.2)
rack-protection (1.3.2)
rack
@@ -59,6 +62,7 @@ GEM
nokogiri (~> 1.3)
PLATFORMS
+ java
ruby
DEPENDENCIES
@@ -21,12 +21,15 @@ GEM
ffi (~> 1.0, >= 1.0.11)
diff-lcs (1.2.5)
ffi (1.9.0)
+ ffi (1.9.0-java)
json (1.8.1)
+ json (1.8.1-java)
mime-types (1.23)
mini_magick (3.5.0)
subexec (~> 0.2.1)
multi_json (1.7.8)
nokogiri (1.5.9)
+ nokogiri (1.5.9-java)
rack (1.5.2)
rack-protection (1.3.2)
rack
@@ -58,6 +61,7 @@ GEM
nokogiri (~> 1.3)
PLATFORMS
+ java
ruby
DEPENDENCIES
View
@@ -148,7 +148,7 @@
end
end
- describe "forking", :skip_on_windows => true do
+ describe "forking", skip_on_windows: true, skip_on_jruby: true do
it "only shuts down the server from the main process" do
browser.reset!
pid = fork {}
View
@@ -25,6 +25,7 @@
RSpec.configure do |c|
c.filter_run_excluding :skip_on_windows => !(RbConfig::CONFIG['host_os'] =~ /mingw32/).nil?
+ c.filter_run_excluding :skip_on_jruby => !defined?(::JRUBY_VERSION).nil?
Capybara::SpecHelper.configure(c)
end

0 comments on commit 2b417de

Please sign in to comment.