Sha256: 59bd103e60baf58a4c92c5b598ed2f63bb98d52a5d734d8f841dc5510a64481f

Contents?: true

Size: 636 Bytes

Versions: 3

Compression:

Stored size: 636 Bytes

Contents

require 'spec_helper'

describe file('/var/tmp/hello_rundock_from_task_with_filtering/do_task_1') do
  it { should be_file }
  its(:content) { should match(/Hello Rundock from task with filtering do task 1/) }
end

describe file('/var/tmp/hello_rundock_from_task_with_filtering/do_task_2') do
  it { should be_file }
  its(:content) { should match(/Hello Rundock from task with filtering do task 2/) }
end

describe file('/var/tmp/hello_rundock_from_task_with_filtering/do_not_task_1') do
  it { should_not be_file }
end

describe file('/var/tmp/hello_rundock_from_task_with_filtering/do_not_task_2') do
  it { should_not be_file }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rundock-1.2.1 spec/integration/recipes/task_with_filtering_spec.rb
rundock-1.2.0 spec/integration/recipes/task_with_filtering_spec.rb
rundock-1.1.7 spec/integration/recipes/task_with_filtering_spec.rb