fix specs
This commit is contained in:
@@ -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_equal("502 503", result[0..6])
|
||||
assert_equal(2009, result.size)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user