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

- old
+ new

@@ -1,6 +1,6 @@ -require 'spec/spec_helper' +require 'spec_helper' require 'rubygems' require 'rake' require 'fileutils' describe "Project Generator" do @@ -25,23 +25,9 @@ end it "should generate a rakefile that can be required" do run_generator('taza', [APP_ROOT], generator_sources) system("ruby -c #{@spec_helper} > #{null_device}").should be_true - end - - it "spec helper should set the TAZA_ENV variable if it is not provided" do - ENV['TAZA_ENV'] = nil - run_generator('taza', [APP_ROOT], generator_sources) - load @spec_helper - ENV['TAZA_ENV'].should eql("isolation") - end - - it "spec helper should not override the TAZA_ENV variable if was provided" do - ENV['TAZA_ENV'] = 'orange pie? is there such a thing?' - 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