Sha256: dd1c0c95c3f5609ecf9cb22f366f5af53b1038482cd800a6325de6f0baf661b8
Contents?: true
Size: 489 Bytes
Versions: 2
Compression:
Stored size: 489 Bytes
Contents
$:.unshift File.expand_path("../..", __FILE__) require 'simplecov' SimpleCov.start do add_filter "/.bundle/" end 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). exactly(1).times. with(command, *args). and_return(output) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lxc-ruby-0.3.2 | spec/spec_helper.rb |
lxc-ruby-0.3.1 | spec/spec_helper.rb |