Sha256: f4e5024070248ebec798ab06d276eec91a56b7729cd0d553e0e3f1c5a35a96f0

Contents?: true

Size: 557 Bytes

Versions: 6

Compression:

Stored size: 557 Bytes

Contents

Given(/^in Puppetfile is misspelled module's name$/) do
  @repo.add_line_to_puppetfile %Q(mod "acme/not_exists", "7.7.7")
end

Then(/^I should see generated all necessary files and folders$/) do
  files = [ 'spec/onceover.yaml', 'Rakefile', 'Gemfile' ].map { |x| @repo.root_folder + x }
  folders = [ 'spec/factsets', 'spec/pre_conditions'].map! { |x| @repo.root_folder + x}

  files.each do |file|
    log(file)
    expect( File.exist? file ).to be true
  end
  folders.each do |folder|
    log(folder)
    expect( Dir.exist? folder ).to be true
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
onceover-4.0.0 features/step_definitions/init.rb
onceover-3.22.0 features/step_definitions/init.rb
onceover-3.21.0 features/step_definitions/init.rb
onceover-3.20.0 features/step_definitions/init.rb
onceover-3.19.2 features/step_definitions/init.rb
onceover-3.19.1 features/step_definitions/init.rb