Sha256: 850ddcddc154d99dadfa3c7a1d8331c747c5478db61b7767305beffc62cecece

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

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

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

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

Then /^the README should contain my name$/ do
  Then %(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
  Then %(the file "tmp/newgem/README.rdoc" should match /\\\* \\\{Source on Github\\\}\\\[LINK TO GITHUB\\\]/)
  Then %(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
  Then %(the file "tmp/newgem/README.rdoc" should match /^== Install/)
  Then %(the file "tmp/newgem/README.rdoc" should match /^== Examples/)
  Then %(the file "tmp/newgem/README.rdoc" should match /^== Contributing/)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
methadone-0.3.2 features/step_definitions/readme_steps.rb
methadone-0.3.1 features/step_definitions/readme_steps.rb