Sha256: b4c4f594fea9b773ac8e981296d68b7c9f4f6ae2860605107f6d266dc5678f79

Contents?: true

Size: 824 Bytes

Versions: 21

Compression:

Stored size: 824 Bytes

Contents

Then /^the README should not reference a license$/ do
  step %(the file "tmp/newgem/README.rdoc" should not match /[Ll]icense/)
end

Then /^newgem's license should be the (\w+) license/ do |license|
  @license = license
  step %(a file named "tmp/newgem/LICENSE.txt" should exist)
end

Then /^the README should reference this license$/ do
  step %(the file "tmp/newgem/README.rdoc" should match /License::/)
  step %(the file "tmp/newgem/README.rdoc" should match /#{@license}/)
end


Then /^newgem's license should be an empty file$/ do
  step %(a file named "tmp/newgem/LICENSE.txt" should exist)
  File.read("tmp/aruba/tmp/newgem/LICENSE.txt").should == "\n"
end

Then /^the README should reference the need for a license$/ do
  step %(the file "tmp/newgem/README.rdoc" should match /License:: INSERT LICENSE HERE/)
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
methadone-1.3.2 features/step_definitions/license_steps.rb
methadone-1.3.1 features/step_definitions/license_steps.rb
methadone-1.3.0 features/step_definitions/license_steps.rb
methadone-1.2.6 features/step_definitions/license_steps.rb
methadone-1.2.5 features/step_definitions/license_steps.rb
methadone-1.2.4 features/step_definitions/license_steps.rb
methadone-1.2.3 features/step_definitions/license_steps.rb
methadone-1.2.2 features/step_definitions/license_steps.rb
methadone-1.2.1 features/step_definitions/license_steps.rb
methadone-1.2.0 features/step_definitions/license_steps.rb
methadone-1.1.0 features/step_definitions/license_steps.rb
methadone-1.0.0 features/step_definitions/license_steps.rb
methadone-1.0.0.rc6 features/step_definitions/license_steps.rb
methadone-1.0.0.rc5 features/step_definitions/license_steps.rb
methadone-1.0.0.rc4 features/step_definitions/license_steps.rb
methadone-1.0.0.rc3 features/step_definitions/license_steps.rb
methadone-1.0.0.rc2 features/step_definitions/license_steps.rb
methadone-1.0.0.rc1 features/step_definitions/license_steps.rb
methadone-0.5.1 features/step_definitions/license_steps.rb
methadone-0.4.1 features/step_definitions/license_steps.rb