spec/generator_spec.rb in ore-0.4.1 vs spec/generator_spec.rb in ore-0.5.0

- old
+ new

@@ -103,9 +103,21 @@ it "should add a LICENSE.txt file" do @path.join('LICENSE.txt').should be_file end end + context "gem test" do + let(:name) { 'gem_test_project' } + + before(:all) do + generate!(name, :gem_test => true) + end + + it "should add a .gemtest file" do + @path.join('.gemtest').should be_file + end + end + context "bundler" do let(:name) { 'bundled_project' } before(:all) do generate!(name, :bundler => true)