Sha256: cf8057ff8500ddfcdbf0e6b35e976fdb62d0d6d67bb9f34813649001c7e4348f
Contents?: true
Size: 615 Bytes
Versions: 22
Compression:
Stored size: 615 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe "Remote Instance" do before(:each) do @tc = TestBaseClass.new do end end it "should have the method has_line_in_file available on the class" do @tc.respond_to?(:has_line_in_file).should == true end describe "call" do before(:each) do @tc.run_in_context do has_line_in_file({:line => 'hi', :file => "ho"}) end @compiled = PuppetResolver.new(@tc.to_properties_hash).compile end it "should have the line in the file from PuppetResolver" do @compiled.should match(/grep -q/) end end end
Version data entries
22 entries across 22 versions & 3 rubygems