Sha256: 74aa3fc4688ec2795f5eba907d5ad9ea51ef1172d2750ca587a6f7616ba17b91
Contents?: true
Size: 596 Bytes
Versions: 12
Compression:
Stored size: 596 Bytes
Contents
RSpec.configure do |config| config.before(:each, :integration => true, :version => lambda {|v| !!v }, :test_server => lambda {|ts| ts != false }) do required = example.metadata[:version] actual = test_server.version case required when String pending("SKIP: Tests feature for Riak #{required}, but testing against #{actual}") if actual < required when Range pending("SKIP: Tests feature for Riak versions #{required.begin} through #{required.end}, but testing against #{actual}") unless required.include?(actual) end end end
Version data entries
12 entries across 3 versions & 1 rubygems