spec/generator_spec.rb in ore-0.9.1 vs spec/generator_spec.rb in ore-0.9.2
- old
+ new
@@ -311,15 +311,15 @@
it "should include a '-' separator for non-code files" do
document.should include('-')
end
- it "should not include 'README.*'" do
- document.grep(/^README\./).should be_empty
+ it "should not include 'README.rdoc'" do
+ document.should_not include('README.rdoc')
end
- it "should include 'ChangeLog.*'" do
- document.should include('ChangeLog.*')
+ it "should include 'ChangeLog.rdoc'" do
+ document.should include('ChangeLog.rdoc')
end
it "should include 'LICENSE.txt'" do
document.should include('LICENSE.txt')
end