spec/project_context_spec.rb in overapp-0.5.0 vs spec/project_context_spec.rb in overapp-0.5.1

- old
+ new

@@ -1,5 +1,7 @@ +require File.expand_path(File.dirname(__FILE__) + '/spec_helper') + describe "projects" do include_context "projects" include_context "output dir" describe "basic file loading" do @@ -11,11 +13,11 @@ has_file "abc.txt","hello" end describe "multiple projects" do project "main" do |p| - p.config "c.overlay 'widget'" + p.config :overlay, :widget p.file "README","hello" end project "widget" do |p| p.file "widget.rb","class Widget; end" @@ -111,21 +113,26 @@ has_files 1 has_file "README","Hello baz" end - describe "refs self", :pending => true do + describe "refs self", :pending => false do project "base" do |p| - p.config "c.overlay :self; c.overlay 'auth'" + p.config :overlay, "." + p.config :overlay,:auth p.file "README","hello" end project "auth" do |p| p.file "README"," auth stuff", :action => :append end has_files 1 has_file "README","hello auth stuff" end + + end + +