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,
|
title: @event.title,
|
||||||
start_time: @event.start_time, end_time: @event.end_time,
|
start_time: @event.start_time, end_time: @event.end_time,
|
||||||
description: @event.description,
|
description: @event.description,
|
||||||
city: @event.city,
|
city: @event.city, region: @event.related_region,
|
||||||
region: @event.related_region,
|
|
||||||
url: @event.url,
|
url: @event.url,
|
||||||
contact: @event.contact
|
contact: @event.contact,
|
||||||
|
tags: @event.tags
|
||||||
}
|
}
|
||||||
|
|
||||||
assert_empty assigns(:event).errors
|
assert_empty assigns(:event).errors
|
||||||
@ -43,8 +43,7 @@ class EventsControllerTest < ActionController::TestCase
|
|||||||
title: @event.title,
|
title: @event.title,
|
||||||
start_time: @event.start_time, end_time: @event.end_time,
|
start_time: @event.start_time, end_time: @event.end_time,
|
||||||
description: @event.description,
|
description: @event.description,
|
||||||
city: @event.city,
|
city: @event.city, region: @event.related_region,
|
||||||
region: @event.related_region,
|
|
||||||
url: @event.url,
|
url: @event.url,
|
||||||
contact: @event.contact,
|
contact: @event.contact,
|
||||||
tags: @event.tags
|
tags: @event.tags
|
||||||
|
Loading…
Reference in New Issue
Block a user