spec/helpers/test_instance.rb in etcdv3-0.8.3 vs spec/helpers/test_instance.rb in etcdv3-0.9.0
- old
+ new
@@ -11,9 +11,11 @@
class InvalidVersionException < StandardError; end
class PortInUseException < StandardError; end
MINIMUM_VERSION = Gem::Version.new('3.0.0')
+ attr_accessor :version
+
def initialize
@pids = []
@tmpdir = Dir.mktmpdir
@bin = discover_binary_path
@version = discover_binary_version