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.2.2 features/step_definitions/readme_steps.rb
methadone-1.2.1 features/step_definitions/readme_steps.rb
methadone-1.2.0 features/step_definitions/readme_steps.rb
methadone-1.1.0 features/step_definitions/readme_steps.rb
methadone-1.0.0 features/step_definitions/readme_steps.rb
methadone-1.0.0.rc6 features/step_definitions/readme_steps.rb
methadone-1.0.0.rc5 features/step_definitions/readme_steps.rb
methadone-1.0.0.rc4 features/step_definitions/readme_steps.rb
methadone-1.0.0.rc3 features/step_definitions/readme_steps.rb
methadone-1.0.0.rc2 features/step_definitions/readme_steps.rb
methadone-1.0.0.rc1 features/step_definitions/readme_steps.rb
methadone-0.5.1 features/step_definitions/readme_steps.rb
methadone-0.4.1 features/step_definitions/readme_steps.rb
methadone-0.4.0 features/step_definitions/readme_steps.rb
methadone-0.3.4 features/step_definitions/readme_steps.rb
methadone-0.3.3 features/step_definitions/readme_steps.rb