Sha256: 9c25b131129dfd2f90121d03d45717a64bad22b0fefa3f16f6cd5067028f73c9

Contents?: true

Size: 1.1 KB

Versions: 25

Compression:

Stored size: 1.1 KB

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 /) }
  its(:content) { should match(/DEBUG/) }
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 /) }
  its(:content) { should match(/DEBUG/) }
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 /) }
  its(:content) { should match(/DEBUG/) }
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 /) }
  its(:content) { should match(/DEBUG/) }
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 /) }
  its(:content) { should match(/DEBUG/) }
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
rundock-1.2.1 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.2.0 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.1.7 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.1.6 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.1.5 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.1.4 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.1.3 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.1.2 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.1.1 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.1.0 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.0.8 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.0.7 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.0.6 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.0.5 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.0.4 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.0.2 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.0.1 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-1.0.0 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-0.5.8 spec/integration/recipes/file_hook_by_option_spec.rb
rundock-0.5.7 spec/integration/recipes/file_hook_by_option_spec.rb