Sha256: 53d3394bc2615dc7170deec5ad145ae3b94712954a3bb19462eb6419ac95e38c

Contents?: true

Size: 915 Bytes

Versions: 6

Compression:

Stored size: 915 Bytes

Contents

require 'spec_helper'

describe file('/var/tmp/hello_rundock_from_file_hook_one_scenario') do
  it { should be_file }
  its(:content) { should match(/hookname:file_one /) }
end

describe file('/var/tmp/hello_rundock_from_file_hook_array_1_scenario') do
  it { should be_file }
  its(:content) { should match(/anyhost-01/) }
  its(:content) { should match(/hookname:file_array_1 /) }
end

describe file('/var/tmp/hello_rundock_from_file_hook_array_2_scenario') do
  it { should be_file }
  its(:content) { should match(/anyhost-01/) }
  its(:content) { should match(/hookname:file_array_2 /) }
end

describe file('/var/tmp/hello_rundock_from_file_hook_all_1_scenario') do
  it { should be_file }
  its(:content) { should match(/hookname:file_all_1 /) }
end

describe file('/var/tmp/hello_rundock_from_file_hook_all_2_scenario') do
  it { should be_file }
  its(:content) { should match(/hookname:file_all_2 /) }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rundock-0.4.15 spec/integration/recipes/file_hook_spec.rb
rundock-0.4.14 spec/integration/recipes/file_hook_spec.rb
rundock-0.4.13 spec/integration/recipes/file_hook_spec.rb
rundock-0.4.12 spec/integration/recipes/file_hook_spec.rb
rundock-0.4.11 spec/integration/recipes/file_hook_spec.rb
rundock-0.4.10 spec/integration/recipes/file_hook_spec.rb