From 1b350237418d21d46d3874d7f07e710753881e8e Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 13 Sep 2018 16:18:59 +0100 Subject: spec/scansion/basic_roster.scs: Add tests for actually modifying the roster --- spec/scansion/basic_roster.scs | 48 +++++++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 8 deletions(-) (limited to 'spec') diff --git a/spec/scansion/basic_roster.scs b/spec/scansion/basic_roster.scs index 9cd8a2ca..2e292083 100644 --- a/spec/scansion/basic_roster.scs +++ b/spec/scansion/basic_roster.scs @@ -30,12 +30,44 @@ Romeo receives: -Romeo disconnects +# Add nurse to roster + +Romeo sends: + + + + + + +# Receive the roster add result + +Romeo receives: + + +# Receive the roster push + +Romeo receives: + + + + + -#Juliet receives: -# -# -#Juliet receives: -# -# -#Juliet disconnects +Romeo sends: + + +# Fetch the roster, it should include nurse now + +Romeo sends: + + + + +Romeo receives: + + + + + + +Romeo disconnects -- cgit v1.2.3