Sha256: ba1a05e34eb5c58043f42b0be0377286b784d8f425409c7ca14d7ff6eb451672

Contents?: true

Size: 548 Bytes

Versions: 7

Compression:

Stored size: 548 Bytes

Contents

#!/usr/bin/env ruby

begin
  old_verbose = $VERBOSE
  require 'rubygems'
  $VERBOSE = nil
  gem 'session'
  require 'session'
rescue LoadError
  if File::ALT_SEPARATOR
    puts "Unable to run functional tests on MS Windows. Skipping."
  else
    puts "Unable to run functional tests -- please run \"gem install session\""
  end
ensure
  $VERBOSE = old_verbose
end

if defined?(Session)
  if File::ALT_SEPARATOR
    puts "Unable to run functional tests on MS Windows. Skipping."
  else
    require 'test/functional/session_based_tests.rb'
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
drake-0.9.0.0.3.0 test/functional/functional_test.rb
rake-0.9.0 test/functional/functional_test.rb
rake-0.9.0.beta.5 test/functional/functional_test.rb
rake-0.9.0.beta.4 test/functional/functional_test.rb
rake-0.9.0.beta.2 test/functional/functional_test.rb
rake-0.9.0.beta.1 test/functional/functional_test.rb
rake-0.9.0.beta.0 test/functional/functional_test.rb