<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -89,6 +89,14 @@ module Spec
         @subject ||= instance_variable_get(subject_variable_name)
       end
 
+      def should(matcher)
+        subject.should(matcher)
+      end
+
+      def should_not(matcher)
+        subject.should_not(matcher)
+      end
+
       protected
       include Matchers
       include Pending</diff>
      <filename>lib/spec/example/example_methods.rb</filename>
    </modified>
    <modified>
      <diff>@@ -168,6 +168,68 @@ module Spec
           example.subject.should equal(expected)
         end
       end
+
+      describe &quot;#should&quot; do
+        with_sandboxed_options do
+
+          attr_reader :example_group, :example, :success
+
+          before do
+            @example_group = Class.new(ExampleGroup) do
+              def subject; @actual; end
+              before(:each) { @actual = 'expected' }
+              it { should eql('expected') }
+            end
+            @example = @example_group.examples.first
+
+            @success = example_group.run
+          end
+
+          it &quot;should create an example using the description from the matcher&quot; do
+            example.description.should == 'should eql &quot;expected&quot;'
+          end
+
+          it &quot;should test the matcher returned from the block&quot; do
+            success.should be_true
+          end
+
+          after do
+            ExampleGroup.reset
+          end
+
+        end
+      end
+
+      describe &quot;#should_not&quot; do
+        with_sandboxed_options do
+
+          attr_reader :example_group, :example, :success
+
+          before do
+            @example_group = Class.new(ExampleGroup) do
+              def subject; @actual; end
+              before(:each) { @actual = 'expected' }
+              it { should_not eql('unexpected') }
+            end
+            @example = @example_group.examples.first
+
+            @success = example_group.run
+          end
+
+          it &quot;should create an example using the description from the matcher&quot; do
+            example.description.should == 'should not eql &quot;unexpected&quot;'
+          end
+
+          it &quot;should test the matcher returned from the block&quot; do
+            success.should be_true
+          end
+
+          after do
+            ExampleGroup.reset
+          end
+
+        end
+      end
     end
 
     describe &quot;#options&quot; do</diff>
      <filename>spec/spec/example/example_methods_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>dc9edc66ad29a482cab467c2423d6bb25093bf75</id>
    </parent>
  </parents>
  <author>
    <name>Joe Ferris</name>
    <email>joe.r.ferris@gmail.com</email>
  </author>
  <url>http://github.com/dchelimsky/rspec/commit/dc51a976280b7d9638e9b87c3c7b3c13d3d0b207</url>
  <id>dc51a976280b7d9638e9b87c3c7b3c13d3d0b207</id>
  <committed-date>2008-11-08T12:07:18-08:00</committed-date>
  <authored-date>2008-11-08T12:03:12-08:00</authored-date>
  <message>Delegated #should and #should_not for an example to the example's subject</message>
  <tree>40fc31d7cb5a5ae78a7a981eacae542ec84e5f91</tree>
  <committer>
    <name>Joe Ferris</name>
    <email>joe.r.ferris@gmail.com</email>
  </committer>
</commit>
