This commit is contained in:
r888888888
2014-06-16 17:04:26 -07:00
parent 9621ec7dac
commit 82c08c9faf
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ class ForumTopicTest < ActiveSupport::TestCase
should "prune the string if it gets too long" do
array = (1..1_000).to_a.map(&:to_s).in_groups_of(2)
result = @topic.mark_as_read(array)
assert_operator result.size, :<, 3000
assert_operator result.size, :<, 500
end
end