<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -125,18 +125,22 @@ EOF
     #     employee.develop_great_new_social_networking_app
     #   }.should change(employee, :title).from(&quot;Mail Clerk&quot;).to(&quot;CEO&quot;)
     #
-    # Evaluates +receiver.message+ or +block+ before and
-    # after it evaluates the c object (generated by the lambdas in the examples above).
+    # Evaluates &lt;tt&gt;receiver.message&lt;/tt&gt; or &lt;tt&gt;block&lt;/tt&gt; before and after
+    # it evaluates the c object (generated by the lambdas in the examples
+    # above).
     #
-    # Then compares the values before and after the +receiver.message+ and
-    # evaluates the difference compared to the expected difference.
+    # Then compares the values before and after the &lt;tt&gt;receiver.message&lt;/tt&gt;
+    # and evaluates the difference compared to the expected difference.
     #
-    # == Warning
-    # +should_not+ +change+ only supports the form with no subsequent calls to
-    # +by+, +by_at_least+, +by_at_most+, +to+ or +from+.
+    # == WARNING
+    # &lt;tt&gt;should_not change&lt;/tt&gt; only supports the form with no
+    # subsequent calls to &lt;tt&gt;by&lt;/tt&gt;, &lt;tt&gt;by_at_least&lt;/tt&gt;,
+    # &lt;tt&gt;by_at_most&lt;/tt&gt;, &lt;tt&gt;to&lt;/tt&gt; or &lt;tt&gt;from&lt;/tt&gt;.
+    #
+    # blocks passed to &lt;tt&gt;should&lt;/tt&gt; &lt;tt&gt;change&lt;/tt&gt; and &lt;tt&gt;should_not&lt;/tt&gt;
+    # &lt;tt&gt;change&lt;/tt&gt; must use the &lt;tt&gt;{}&lt;/tt&gt; form (&lt;tt&gt;do/end&lt;/tt&gt; is not
+    # supported).
     #
-    # blocks passed to +should+ +change+ and +should_not+ +change+
-    # must use the &lt;tt&gt;{}&lt;/tt&gt; form (&lt;tt&gt;do/end&lt;/tt&gt; is not supported)
     def change(target=nil, message=nil, &amp;block)
       Matchers::Change.new(target, message, &amp;block)
     end</diff>
      <filename>lib/spec/matchers/change.rb</filename>
    </modified>
    <modified>
      <diff>@@ -55,10 +55,9 @@ describe &quot;should change { block }&quot; do
     end.should fail_with(&quot;result should have changed, but is still 5&quot;)
   end
   
-  it &quot;should warn if passed a block using do/end&quot; do
+  it &quot;should warn if passed a block using do/end instead of {}&quot; do
     lambda do
-      lambda {}.should change do
-      end
+      lambda {}.should change do; end
     end.should raise_error(Spec::Matchers::MatcherError, /block passed to should or should_not/)
   end
 end
@@ -79,10 +78,9 @@ describe &quot;should_not change { block }&quot; do
     end.should fail_with(&quot;result should not have changed, but did change from 5 to 6&quot;)
   end
   
-  it &quot;should warn if passed a block using do/end&quot; do
+  it &quot;should warn if passed a block using do/end instead of {}&quot; do
     lambda do
-      lambda {}.should_not change do
-      end
+      lambda {}.should_not change do; end
     end.should raise_error(Spec::Matchers::MatcherError, /block passed to should or should_not/)
   end
 end</diff>
      <filename>spec/spec/matchers/change_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b9ca5c1e06a6805a3229d2f4169f9832161c2c0f</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </author>
  <url>http://github.com/dchelimsky/rspec/commit/b171b70245e4eaa1505c8bcb792ab2460fe17ab1</url>
  <id>b171b70245e4eaa1505c8bcb792ab2460fe17ab1</id>
  <committed-date>2008-06-22T08:19:20-07:00</committed-date>
  <authored-date>2008-06-22T08:19:20-07:00</authored-date>
  <message>tweak rdoc for should change</message>
  <tree>eba2b5c91f5a9a7aae022f93fa142fea891a7d64</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </committer>
</commit>
