From e892df7e0a98114c2003773787c9c921bfce12f8 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 15 Apr 2018 03:51:05 +0200 Subject: Update tests for `Event` `Option` fields Now that the `description`, `local_date`, and `local_time` fields are `Option` types, we need to update the tests to reflect this or they fail terribly. I made the change in aa0190279db75f75210f5279afaa62178b242837 but forgot to update the tests. --- meetup/src/client.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'meetup/src') diff --git a/meetup/src/client.rs b/meetup/src/client.rs index 5e8e636..23bf6df 100644 --- a/meetup/src/client.rs +++ b/meetup/src/client.rs @@ -75,17 +75,17 @@ mod tests { vec![ Event { name: "Hackspace Project Night - Open to Everyone!".to_owned(), - description: "
Spend some time on your project by bringing it along to our weekly project night, an evening designed around you and what you're working on.
This weekly event is about finding time to tinker, being creative, and meeting other members of the community. You'll get the chance to see what others are working on, share your projects, and to get inspiration and feedback from fellow tinkerers.
On any given Tuesday night you have people working on electronics, knitting, writing code, wood-working, or just their plans for world domination. Beer is also consumed.
We’ll provide: space to work, basic tools, power, a room full of like minded people.
You’ll provide: your project, ideas and beer (optional). A laptop would probably be useful too.
Sometimes we work on group projects together, which are usually set up as separate meetup events. Keep an eye on our events page to see what we’re working on next.
Note: We usually have around 10 or 20 people at these events, many of our members come along but aren't counted as they don't respond on meetup.
Spend some time on your project by bringing it along to our weekly project night, an evening designed around you and what you're working on.
This weekly event is about finding time to tinker, being creative, and meeting other members of the community. You'll get the chance to see what others are working on, share your projects, and to get inspiration and feedback from fellow tinkerers.
On any given Tuesday night you have people working on electronics, knitting, writing code, wood-working, or just their plans for world domination. Beer is also consumed.
We’ll provide: space to work, basic tools, power, a room full of like minded people.
You’ll provide: your project, ideas and beer (optional). A laptop would probably be useful too.
Sometimes we work on group projects together, which are usually set up as separate meetup events. Keep an eye on our events page to see what we’re working on next.
Note: We usually have around 10 or 20 people at these events, many of our members come along but aren't counted as they don't respond on meetup.
.
".to_owned(), + description: Some(".
".to_owned()), link: "https://www.meetup.com/bostonpython/events/247552529/".to_owned(), - local_date: "2018-04-25".to_owned(), - local_time: "19:00".to_owned(), + local_date: Some("2018-04-25".to_owned()), + local_time: Some("19:00".to_owned()), }, ] ); -- cgit v1.2.3