Test updated to reflect the required status of tags
This commit is contained in:
parent
986c1177c4
commit
fd91c26ebe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user