spec/webby/apps/main_spec.rb in TwP-webby-0.9.4 vs spec/webby/apps/main_spec.rb in TwP-webby-0.9.4.1

- old
+ new

@@ -76,10 +76,11 @@ end end describe ".parse" do it "should pass environment variables to the rake application" do - ARGV = ary = [] + ary = ARGV + ARGV.replace [] args = %w[rebuild foo BASE=http://www.example.com bar] @main.parse args ary.should == %w[rebuild BASE=http://www.example.com] args.should == %w[foo bar] end