<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>test/rails/overrides/app/views/template_path/_partial.html.erb</filename>
    </added>
    <added>
      <filename>test/rails/overrides/app/views/template_path/_partial_mobile.html.erb</filename>
    </added>
    <added>
      <filename>test/rails/overrides/app/views/template_path/_partial_mobile_docomo.html.erb</filename>
    </added>
    <added>
      <filename>test/rails/overrides/app/views/template_path/partial.html.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -56,30 +56,60 @@ end
 
 describe TemplatePathController, &quot;integrated_views&quot; do
   integrate_views
-  context &quot;PC&#12363;&#12425;&#12398;&#12450;&#12463;&#12475;&#12473;&#12398;&#22580;&#21512;&quot; do
-    before do
-      get :index
+  describe &quot;index&quot; do
+    context &quot;PC&#12363;&#12425;&#12398;&#12450;&#12463;&#12475;&#12473;&#12398;&#22580;&#21512;&quot; do
+      before do
+        get :index
+      end
+      it 'index.html.erb&#12364;&#20351;&#29992;&#12373;&#12428;&#12427;&#12371;&#12392;' do
+        response.should have_tag(&quot;h1&quot;, &quot;index.html.erb&quot;)
+      end
     end
-    it 'index.html.erb&#12364;&#20351;&#29992;&#12373;&#12428;&#12427;&#12371;&#12392;' do
-      response.should have_tag(&quot;h1&quot;, &quot;index.html.erb&quot;)
+    context &quot;DoCoMo&#12363;&#12425;&#12398;&#12450;&#12463;&#12475;&#12473;&#12398;&#22580;&#21512;&quot; do
+      before do
+        request.user_agent = &quot;DoCoMo/2.0 SH902i(c100;TB;W24H12)&quot;
+        get :index
+      end
+      it 'index_mobile_docomo.html.erb&#12364;&#20351;&#29992;&#12373;&#12428;&#12427;&#12371;&#12392;' do
+        response.should have_tag(&quot;h1&quot;, &quot;index_mobile_docomo.html.erb&quot;)
+      end
     end
-  end
-  context &quot;DoCoMo&#12363;&#12425;&#12398;&#12450;&#12463;&#12475;&#12473;&#12398;&#22580;&#21512;&quot; do
-    before do
-      request.user_agent = &quot;DoCoMo/2.0 SH902i(c100;TB;W24H12)&quot;
-      get :index
-    end
-    it 'index_mobile_docomo.html.erb&#12364;&#20351;&#29992;&#12373;&#12428;&#12427;&#12371;&#12392;' do
-      response.should have_tag(&quot;h1&quot;, &quot;index_mobile_docomo.html.erb&quot;)
+    context &quot;SoftBank&#12363;&#12425;&#12398;&#12450;&#12463;&#12475;&#12473;&#12398;&#22580;&#21512;&quot; do
+      before do
+        request.user_agent = &quot;SoftBank/1.0/910T/TJ001/SN000000000000000 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1&quot;
+        get :index
+      end
+      it 'index_mobile.html.erb&#12364;&#20351;&#29992;&#12373;&#12428;&#12427;&#12371;&#12392;' do
+        response.should have_tag(&quot;h1&quot;, &quot;index_mobile.html.erb&quot;)
+      end
     end
   end
-  context &quot;SoftBank&#12363;&#12425;&#12398;&#12450;&#12463;&#12475;&#12473;&#12398;&#22580;&#21512;&quot; do
-    before do
-      request.user_agent = &quot;SoftBank/1.0/910T/TJ001/SN000000000000000 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1&quot;
-      get :index
+  describe &quot;partial&quot; do
+    context &quot;PC&#12363;&#12425;&#12398;&#12450;&#12463;&#12475;&#12473;&#12398;&#22580;&#21512;&quot; do
+      before do
+        get :partial
+      end
+      it '_partial.html.erb&#12364;&#20351;&#29992;&#12373;&#12428;&#12427;&#12371;&#12392;' do
+        response.should have_tag(&quot;h2&quot;, &quot;_partial.html.erb&quot;)
+      end
+    end
+    context &quot;DoCoMo&#12363;&#12425;&#12398;&#12450;&#12463;&#12475;&#12473;&#12398;&#22580;&#21512;&quot; do
+      before do
+        request.user_agent = &quot;DoCoMo/2.0 SH902i(c100;TB;W24H12)&quot;
+        get :partial
+      end
+      it '_partial_mobile_docomo.html.erb&#12364;&#20351;&#29992;&#12373;&#12428;&#12427;&#12371;&#12392;' do
+        response.should have_tag(&quot;h2&quot;, &quot;_partial_mobile_docomo.html.erb&quot;)
+      end
     end
-    it 'index_mobile.html.erb&#12364;&#20351;&#29992;&#12373;&#12428;&#12427;&#12371;&#12392;' do
-      response.should have_tag(&quot;h1&quot;, &quot;index_mobile.html.erb&quot;)
+    context &quot;SoftBank&#12363;&#12425;&#12398;&#12450;&#12463;&#12475;&#12473;&#12398;&#22580;&#21512;&quot; do
+      before do
+        request.user_agent = &quot;SoftBank/1.0/910T/TJ001/SN000000000000000 Browser/NetFront/3.3 Profile/MIDP-2.0 Configuration/CLDC-1.1&quot;
+        get :partial
+      end
+      it '_partial_mobile.html.erb&#12364;&#20351;&#29992;&#12373;&#12428;&#12427;&#12371;&#12392;' do
+        response.should have_tag(&quot;h2&quot;, &quot;_partial_mobile.html.erb&quot;)
+      end
     end
   end
 end</diff>
      <filename>test/rails/overrides/spec/controllers/template_path_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>11377147ce98e592f74d03a92f83427fc7e606eb</id>
    </parent>
  </parents>
  <author>
    <name>SHIDARA Yoji</name>
    <email>dara@shidara.net</email>
  </author>
  <url>http://github.com/darashi/jpmobile/commit/28ccd03778c8ad33da0cb3d5eff59da404bf6905</url>
  <id>28ccd03778c8ad33da0cb3d5eff59da404bf6905</id>
  <committed-date>2009-05-12T15:51:44-07:00</committed-date>
  <authored-date>2009-05-12T15:51:44-07:00</authored-date>
  <message>partal&#12398;&#12486;&#12473;&#12488;&#12434;&#36861;&#21152;</message>
  <tree>dd4899724294e002503afa02c07b4e10e16067ae</tree>
  <committer>
    <name>SHIDARA Yoji</name>
    <email>dara@shidara.net</email>
  </committer>
</commit>
