Improved test.
This commit is contained in:
parent
7cb212832e
commit
5bfaab8af9
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class OverviewTest < ActiveSupport::TestCase
|
||||||
view_mode_default: 's',
|
view_mode_default: 's',
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
assert_match(/^\d\d\d$/, overview.link)
|
assert_match(/^\d{1,3}$/, overview.link)
|
||||||
overview.destroy!
|
overview.destroy!
|
||||||
|
|
||||||
overview = Overview.create!(
|
overview = Overview.create!(
|
||||||
|
|
Loading…
Reference in a new issue