1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

fix tests for age_range

This commit is contained in:
Sylvain 2016-06-29 11:23:21 +02:00
parent 79b97eb113
commit 6e5fd86ad3
2 changed files with 4 additions and 4 deletions

View File

@ -2,12 +2,12 @@
youngs:
id: 1
range: De 10 à 21 ans
name: De 10 à 21 ans
adults:
id: 2
range: A partir de 18 ans
name: A partir de 18 ans
seniors:
id: 3
range: A partir de 65 ans
name: A partir de 65 ans

View File

@ -13,7 +13,7 @@ class EventTest < ActiveSupport::TestCase
test 'event must have an age range' do
e = Event.find(2)
assert_not_nil e.age_range.range
assert_not_nil e.age_range.name
end
test 'event must not have any age range' do