Improved test.

This commit is contained in:
Martin Edenhofer 2017-07-14 16:27:25 +02:00
parent 7cb212832e
commit 5bfaab8af9

View file

@ -156,7 +156,7 @@ class OverviewTest < ActiveSupport::TestCase
view_mode_default: 's',
},
)
assert_match(/^\d\d\d$/, overview.link)
assert_match(/^\d{1,3}$/, overview.link)
overview.destroy!
overview = Overview.create!(