Sha256: 9cba090e2735841fa733d746923e46167344aee1d3fb541f8004172f99c7def1

Contents?: true

Size: 557 Bytes

Versions: 43

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|
    puts file
    expect( File.exist? file ).to be true
  end
  folders.each do |folder|
    puts folder
    expect( Dir.exist? folder ).to be true
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
onceover-3.19.0 features/step_definitions/init.rb
onceover-3.18.1 features/step_definitions/init.rb
onceover-3.18.0 features/step_definitions/init.rb
onceover-3.17.3 features/step_definitions/init.rb
onceover-3.17.2 features/step_definitions/init.rb
onceover-3.17.1 features/step_definitions/init.rb
onceover-3.17.0 features/step_definitions/init.rb
onceover-3.16.0 features/step_definitions/init.rb
onceover-3.15.2 features/step_definitions/init.rb
onceover-3.15.1 features/step_definitions/init.rb
onceover-3.15.0 features/step_definitions/init.rb
onceover-3.14.1 features/step_definitions/init.rb
onceover-3.14.0 features/step_definitions/init.rb
onceover-3.13.4 features/step_definitions/init.rb
onceover-3.13.3 features/step_definitions/init.rb
onceover-3.13.2 features/step_definitions/init.rb
onceover-3.13.1 features/step_definitions/init.rb
onceover-3.13.0 features/step_definitions/init.rb
onceover-3.12.5 features/step_definitions/init.rb
onceover-3.12.4 features/step_definitions/init.rb