Test updated to reflect the required status of tags

This commit is contained in:
echarp 2014-12-14 21:52:13 +01:00
parent 986c1177c4
commit fd91c26ebe

View File

@ -25,10 +25,10 @@ class EventsControllerTest < ActionController::TestCase
title: @event.title,
start_time: @event.start_time, end_time: @event.end_time,
description: @event.description,
city: @event.city,
region: @event.related_region,
city: @event.city, region: @event.related_region,
url: @event.url,
contact: @event.contact
contact: @event.contact,
tags: @event.tags
}
assert_empty assigns(:event).errors
@ -43,8 +43,7 @@ class EventsControllerTest < ActionController::TestCase
title: @event.title,
start_time: @event.start_time, end_time: @event.end_time,
description: @event.description,
city: @event.city,
region: @event.related_region,
city: @event.city, region: @event.related_region,
url: @event.url,
contact: @event.contact,
tags: @event.tags