Sha256: 2d82ef93980363612dca750ad9c1b6bf683affca75c1c6a354b0bb10dbb3dc98
Contents?: true
Size: 392 Bytes
Versions: 5
Compression:
Stored size: 392 Bytes
Contents
require 'rubygems' RSpec.configure do |config| config.before(:each, :version => lambda {|v| !!v }) do |example| required = Gem::Requirement.create(example.metadata[:version]) actual = Gem::Version.new(test_server.version) skip("SKIP: Tests feature for Riak #{required.to_s}, but testing against #{actual.to_s}", :unless => required.satisfied_by?(actual)) end end
Version data entries
5 entries across 5 versions & 1 rubygems