Sha256: 0454c42d77ffc590667ebeb0f0f1f5e56b3ec7b4073b6fce3c0a5d231fe7a0ea
Contents?: true
Size: 563 Bytes
Versions: 1
Compression:
Stored size: 563 Bytes
Contents
require 'riak/test_server' unless $test_server begin require 'yaml' config = YAML.load_file("spec/support/test_server.yml") $test_server = Riak::TestServer.new(config.symbolize_keys) $test_server.prepare! $test_server.start Ripple.config = {:http_port => 9000 } at_exit { $test_server.cleanup } rescue => e warn "Can't run Riak::TestServer specs. Specify the location of your Riak installation in spec/support/test_server.yml. See Riak::TestServer docs for more info." warn e.inspect $test_server = nil end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
seomoz-ripple-1.0.0.pre | spec/support/test_server.rb |