spec/spec_helper.rb in capybara-0.4.1.2 vs spec/spec_helper.rb in capybara-1.0.0.beta1

- old
+ new

@@ -13,26 +13,12 @@ Capybara.default_wait_time = 0 # less timeout so tests run faster module TestSessions RackTest = Capybara::Session.new(:rack_test, TestApp) Selenium = Capybara::Session.new(:selenium, TestApp) - Culerity = Capybara::Session.new(:culerity, TestApp) - Celerity = Capybara::Session.new(:celerity, TestApp) end RSpec.configure do |config| - - running_with_jruby = RUBY_PLATFORM =~ /java/ - jruby_installed = `which jruby` && $?.success? - - warn "** Skipping Celerity specs because platform is not Java" unless running_with_jruby - warn "** Skipping Culerity specs because JRuby is not installed" unless jruby_installed - - config.filter_run_excluding(:jruby => lambda { |value| - return true if value == :platform && !running_with_jruby - return true if value == :installed && !jruby_installed - }) - config.before do Capybara.configure do |config| config.default_selector = :xpath end end