Sha256: 9e94ef96433d0ae1933c954cee5963a5916d06569918f3388a66a6ddc10a7a0e

Contents?: true

Size: 351 Bytes

Versions: 17

Compression:

Stored size: 351 Bytes

Contents

puts ''
if ENV['REMOTE_TESTS'] =~ /(yes|y|true|t)/i
  puts '*****'
  puts '** Testing will be performed against the remote server.'
  puts '*****'
  $perform_remote_tests = true
else
  puts '== Testing will be performed against *mocked* server responses.'
  $perform_remote_tests = false
end
puts ''

def use_remote_server?
  $perform_remote_tests
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
geocerts-1.0.1 test/config/initializers/_remote_tests.rb
geocerts-1.0.0 test/config/initializers/_remote_tests.rb
geocerts-0.0.25 test/config/initializers/_remote_tests.rb
geocerts-0.0.24 test/config/initializers/_remote_tests.rb
geocerts-0.0.23 test/config/initializers/_remote_tests.rb
geocerts-0.0.22 test/config/initializers/_remote_tests.rb
geocerts-0.0.21 test/config/initializers/_remote_tests.rb
geocerts-0.0.20 test/config/initializers/_remote_tests.rb
geocerts-0.0.19 test/config/initializers/_remote_tests.rb
geocerts-0.0.18 test/config/initializers/_remote_tests.rb
geocerts-0.0.17 test/config/initializers/_remote_tests.rb
geocerts-0.0.16 test/config/initializers/_remote_tests.rb
geocerts-0.0.15 test/config/initializers/_remote_tests.rb
geocerts-0.0.14 test/config/initializers/_remote_tests.rb
geocerts-0.0.13 test/config/initializers/_remote_tests.rb
geocerts-0.0.12 test/config/initializers/_remote_tests.rb
geocerts-0.0.11 test/config/initializers/_remote_tests.rb