Removes assert_includes to pass Travis

This commit is contained in:
Meeka 2013-12-30 12:57:23 -05:00
parent 9652b7ef80
commit 1da8f04aaa
1 changed files with 6 additions and 5 deletions

View File

@ -49,7 +49,7 @@ class TestExcerpt < Test::Unit::TestCase
context "#id" do
should "contain the UID for the post" do
assert_include @excerpt.id, @post.id
assert_equal @excerpt.id, "#{@post.id}/#excerpt"
end
should "return a string" do
assert_same @post.id.class, String
@ -68,11 +68,12 @@ class TestExcerpt < Test::Unit::TestCase
end
context "#inspect" do
should "contain the excerpt id" do
assert_include @excerpt.inspect, @excerpt.id
should "contain the excerpt id as a shorthand string identifier" do
assert_equal @excerpt.inspect, "<Excerpt: #{@excerpt.id}>"
end
should "contain the shorthand String identifier of the post" do
assert_include @excerpt.inspect, @post.slug
should "return a string" do
assert_same @post.id.class, String
end
end