Sha256: 79e635623218350704380e978e69c303a9eda0c21bf758a13b9ca65c99462f58
Contents?: true
Size: 427 Bytes
Versions: 2
Compression:
Stored size: 427 Bytes
Contents
require 'support/test_server' class Riak::TestServer # For now this is a local hack - later we'll make it global. def riak_search? control_script.basename.to_s == 'riaksearch' || (version >= "1.0.0" && env[:riak_search][:enabled]) end end RSpec.configure do |config| config.before(:all, :search => true) do pending("depends upon riak search, which is not available") unless test_server.riak_search? end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
wyngle-ripple-0.1.0 | spec/support/search.rb |
ripple-1.0.0.beta2 | spec/support/search.rb |