Permalink
Browse files

added another test case

  • Loading branch information...
1 parent 2b2184d commit 2a4cd33a546b89d0e1b35e82588ddb66407e4bc7 @bkoski committed Mar 18, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 test/test_slug.rb
View
@@ -240,7 +240,11 @@ def setup
12.times { |i| Article.create!(:headline => 'Test Headline') }
article_13 = Article.create!(:headline => 'Test Headline')
assert_equal 'test-headline-12', article_13.slug
- end
+
+ 12.times { |i| Article.create!(:headline => 'latest from lybia') }
+ article_13 = Article.create!(:headline => 'latest from lybia')
+ assert_equal 'latest-from-lybia-12', article_13.slug
+ end
end
end

0 comments on commit 2a4cd33

Please sign in to comment.