Commit 2c1c454 1 parent c9c4c8f commit 2c1c454 Copy full SHA for 2c1c454
File tree 1 file changed +3
-5
lines changed
http-server-netty/src/test/groovy/io/micronaut/http/server/netty/websocket
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -35,21 +35,19 @@ class PojoWebSocketSpec extends Specification {
35
35
then :
36
36
conditions. eventually {
37
37
bob. replies. contains(new Message (text :" [fred] Hello bob!" ))
38
- bob. replies. size() == 2
39
38
fred. replies. contains(new Message (text :" [bob] Joined!" ))
40
- fred. replies. size() == 1
39
+ ! fred. replies. contains(new Message (text :" [fred] Hello bob!" ))
40
+ ! bob. replies. contains(new Message (text :" [bob] Joined!" ))
41
41
}
42
42
43
43
when :
44
44
bob. send(new Message (text : " Hi fred. How are things?" ))
45
45
46
46
then :
47
47
conditions. eventually {
48
-
49
48
fred. replies. contains(new Message (text :" [bob] Hi fred. How are things?" ))
50
- fred . replies. size() == 2
49
+ ! bob . replies. contains( new Message ( text : " [bob] Hi fred. How are things? " ))
51
50
bob. replies. contains(new Message (text :" [fred] Hello bob!" ))
52
- bob. replies. size() == 2
53
51
}
54
52
fred. sendAsync(new Message (text : " foo" )). get(). text == ' foo'
55
53
fred. sendRx(new Message (text : " bar" )). blockingGet(). text == ' bar'
You can’t perform that action at this time.
0 commit comments