<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -32,6 +32,12 @@ class SluggedModelTest &lt; Test::Unit::TestCase
       assert Post.find(@post.id)
     end
 
+    should &quot;not be findable by its id if looking for something else&quot; do
+      assert_raises ActiveRecord::RecordNotFound do
+        Post.find(&quot;#{@post.id}-i-dont-exists&quot;)
+      end
+    end
+
     should &quot;generate slug text&quot; do
       post = Post.new :title =&gt; &quot;Test post&quot;, :content =&gt; &quot;Test content&quot;
       assert_not_nil @post.slug_text</diff>
      <filename>test/slugged_model_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e10333892d618ed981beaebbe631712e45f79dd3</id>
    </parent>
    <parent>
      <id>ee4df8e98467d9dce6b61477bf6670a04b29319f</id>
    </parent>
  </parents>
  <author>
    <name>Emilio Tagua</name>
    <email>miloops@gmail.com</email>
  </author>
  <url>http://github.com/kakra/friendly_id/commit/92b91199772aa9e73125d5a6c5b5f59633e8ef76</url>
  <id>92b91199772aa9e73125d5a6c5b5f59633e8ef76</id>
  <committed-date>2009-09-02T06:16:30-07:00</committed-date>
  <authored-date>2009-09-02T06:16:30-07:00</authored-date>
  <message>Merge commit 'miloops/master'</message>
  <tree>f4b0e680c7affde5e329364b52a96244adf6fb88</tree>
  <committer>
    <name>Emilio Tagua</name>
    <email>miloops@gmail.com</email>
  </committer>
</commit>
