Sha256: 70e4d95e9aba821f5f21663ef391342290064cbf32a81d77189d86186985b155

Contents?: true

Size: 1.06 KB

Versions: 36

Compression:

Stored size: 1.06 KB

Contents

Then /^a README should not be generated$/ do
  step %(the file "tmp/newgem/README.rdoc" should not exist)
end

Then /^a README should be generated in RDoc$/ do
  step %(a file named "tmp/newgem/README.rdoc" should exist)
end

Then /^the README should contain the project name$/ do
  step %(the file "tmp/newgem/README.rdoc" should match /newgem/)
end

Then /^the README should contain my name$/ do
  step %(the file "tmp/newgem/README.rdoc" should match /Author::  YOUR NAME \\\(YOUR EMAIL\\\)/)
end

Then /^the README should contain links to Github and RDoc.info$/ do
  step %(the file "tmp/newgem/README.rdoc" should match /\\\* \\\{Source on Github\\\}\\\[LINK TO GITHUB\\\]/)
  step %(the file "tmp/newgem/README.rdoc" should match /RDoc\\\[LINK TO RDOC.INFO\\\]/)
end

Then /^the README should contain empty sections for common elements of a README$/ do
  step %(the file "tmp/newgem/README.rdoc" should match /^== Install/)
  step %(the file "tmp/newgem/README.rdoc" should match /^== Examples/)
  step %(the file "tmp/newgem/README.rdoc" should match /^== Contributing/)
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
methadone-1.9.5 features/step_definitions/readme_steps.rb
methadone-1.9.4 features/step_definitions/readme_steps.rb
methadone-1.9.3 features/step_definitions/readme_steps.rb
methadone-1.9.2 features/step_definitions/readme_steps.rb
methadone-rehab-1.9.2 features/step_definitions/readme_steps.rb
methadone-1.9.1 features/step_definitions/readme_steps.rb
methadone-1.9.0 features/step_definitions/readme_steps.rb
methadone-1.8.0 features/step_definitions/readme_steps.rb
methadone-1.7.0 features/step_definitions/readme_steps.rb
methadone-1.6.0 features/step_definitions/readme_steps.rb
methadone-1.5.1 features/step_definitions/readme_steps.rb
methadone-1.5.0 features/step_definitions/readme_steps.rb
methadone-1.4.0 features/step_definitions/readme_steps.rb
methadone-1.3.2 features/step_definitions/readme_steps.rb
methadone-1.3.1 features/step_definitions/readme_steps.rb
methadone-1.3.0 features/step_definitions/readme_steps.rb
methadone-1.2.6 features/step_definitions/readme_steps.rb
methadone-1.2.5 features/step_definitions/readme_steps.rb
methadone-1.2.4 features/step_definitions/readme_steps.rb
methadone-1.2.3 features/step_definitions/readme_steps.rb