<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -460,6 +460,19 @@ describe &quot;Application definition layout declaration&quot; do
     }.should raise_error(NameError)
   end
 
+  it &quot;may be given :in hash parameter at very end to indicate top-level dir instead of ./layouts&quot; do
+    mock(Object).require(%r{weeble/application/xhtml\+xml\.rb$}) {
+      class AppDefSpecMod::AppDefSpec::Layouts::Application
+        class Xhtml
+          class Xml
+          end
+        end
+      end
+      true
+    }
+
+    @app.layouts_for &quot;application/xhtml+xml&quot;, :in =&gt; &quot;weeble&quot;
+  end
 end
 
 </diff>
      <filename>spec/foundations/rest/application_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a9316774e7d809674573e3917f4ba483815340c6</id>
    </parent>
  </parents>
  <author>
    <name>Eero Saynatkari</name>
    <email>projects@kittensoft.org</email>
  </author>
  <url>http://github.com/waves/edge/commit/9d4434e50f8b3135d102ced0582bd0faf1601ee5</url>
  <id>9d4434e50f8b3135d102ced0582bd0faf1601ee5</id>
  <committed-date>2009-05-20T13:43:39-07:00</committed-date>
  <authored-date>2009-05-20T13:43:39-07:00</authored-date>
  <message>Spec allowing to specify layout basedir for Apps.</message>
  <tree>a0f27df96a658f1efcb9458260cf607cacf59129</tree>
  <committer>
    <name>Eero Saynatkari</name>
    <email>projects@kittensoft.org</email>
  </committer>
</commit>
