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