Sha256: 786e61b6fbd3da34c2e7c27b15a01fb59ee104858ec19b894dab49f25479522e
Contents?: true
Size: 387 Bytes
Versions: 4
Compression:
Stored size: 387 Bytes
Contents
$:.unshift File.expand_path("../..", __FILE__) require 'lib/lxc' def fixture_path(filename=nil) path = File.expand_path("../fixtures", __FILE__) filename.nil? ? path : File.join(path, filename) end def fixture(file) File.read(File.join(fixture_path, file)) end def stub_lxc(command, *args) output = yield LXC.should_receive(:run).with(command, *args).and_return(output) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lxc-ruby-0.2.3 | spec/spec_helper.rb |
lxc-ruby-0.2.2 | spec/spec_helper.rb |
lxc-ruby-0.2.1 | spec/spec_helper.rb |
lxc-ruby-0.2.0 | spec/spec_helper.rb |