<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -100,7 +100,7 @@ module ThoughtBot # :nodoc:
         def should_not_set_the_flash
           should_set_the_flash_to nil
         end
-        
+
         # Macro that creates a test asserting that filter_parameter_logging
         # is set for the specified keys
         #
@@ -227,9 +227,9 @@ module ThoughtBot # :nodoc:
         #   should_render_with_layout 'special'
         def should_render_with_layout(expected_layout = 'application')
           if expected_layout
-            should &quot;render with #{expected_layout} layout&quot; do
+            should &quot;render with #{expected_layout.inspect} layout&quot; do
               response_layout = @response.layout.blank? ? &quot;&quot; : @response.layout.split('/').last
-              assert_equal expected_layout,
+              assert_equal expected_layout.to_s,
                            response_layout,
                            &quot;Expected to render with layout #{expected_layout} but was rendered with #{response_layout}&quot;
             end
@@ -288,7 +288,7 @@ module ThoughtBot # :nodoc:
         #   should_route :edit, &quot;/posts/1&quot;, :action =&gt; :show, :id =&gt; 1
         #   should_route :put, &quot;/posts/1&quot;, :action =&gt; :update, :id =&gt; 1
         #   should_route :delete, &quot;/posts/1&quot;, :action =&gt; :destroy, :id =&gt; 1
-        #   should_route :get, &quot;/users/1/posts/1&quot;, 
+        #   should_route :get, &quot;/users/1/posts/1&quot;,
         #     :action =&gt; :show, :id =&gt; 1, :user_id =&gt; 1
         #
         def should_route(method, path, options)</diff>
      <filename>lib/shoulda/controller/macros.rb</filename>
    </modified>
    <modified>
      <diff>@@ -93,6 +93,7 @@ class PostsControllerTest &lt; Test::Unit::TestCase
     context &quot;viewing a post on GET to #show&quot; do
       setup { get :show, :user_id =&gt; users(:first), :id =&gt; posts(:first) }
       should_render_with_layout 'wide'
+      should_render_with_layout :wide
     end
 
     context &quot;on GET to #new&quot; do</diff>
      <filename>test/functional/posts_controller_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>48a9202b9338b734fc77910fc85e535785843bac</id>
    </parent>
  </parents>
  <author>
    <name>Barry Hess</name>
    <email>barry@bjhess.com</email>
  </author>
  <url>http://github.com/thechrisoshow/shoulda/commit/d06e0207244b5f23e62199aa691619136900358d</url>
  <id>d06e0207244b5f23e62199aa691619136900358d</id>
  <committed-date>2008-11-07T12:30:07-08:00</committed-date>
  <authored-date>2008-10-17T07:53:43-07:00</authored-date>
  <message>Allow symbol parameter for should_render_with_layout [#99]</message>
  <tree>cd7b7c70d33c88f676e7d0a6776d208973840539</tree>
  <committer>
    <name>Ryan McGeary</name>
    <email>ryanongit@mcgeary.org</email>
  </committer>
</commit>
