Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added another test case

  • Loading branch information...
commit 2a4cd33a546b89d0e1b35e82588ddb66407e4bc7 1 parent 2b2184d
@bkoski authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 test/test_slug.rb
View
6 test/test_slug.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.