spec/project_generator_spec.rb in taza-0.8.6 vs spec/project_generator_spec.rb in taza-0.8.7

- old
+ new

@@ -41,6 +41,16 @@ run_generator('taza', [APP_ROOT], generator_sources) load @spec_helper ENV['TAZA_ENV'].should eql('orange pie? is there such a thing?') end + it "should generate a console script" do + run_generator('taza', [APP_ROOT], generator_sources) + File.exists?(File.join(APP_ROOT,'script','console')).should be_true + end + + it "should generate a windows console script" do + run_generator('taza', [APP_ROOT], generator_sources) + File.exists?(File.join(APP_ROOT,'script','console.cmd')).should be_true + end + end