fix tests

This commit is contained in:
r888888888
2014-06-18 16:51:55 -07:00
parent f02f72fac1
commit f65691b5e6
9 changed files with 12 additions and 12 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, :<, 500
assert_operator result.size, :<=, 500
end
end