We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f042bb2 commit 539a2c1Copy full SHA for 539a2c1
1 file changed
tests/specs/unit/SubscriptionsSpec.cfc
@@ -111,9 +111,10 @@ component extends="tests.resources.ModuleIntegrationSpec" appMapping="/app" {
111
expect( variables.hyper ).toHaveSentCount( 1 );
112
113
expect( variables.hyper ).toHaveSentRequest( function( req ) {
114
- var encodedEmail = listLast( req.getUrl(), ":" );
+ var requestURL = req.getUrl();
115
return req.getMethod() == "PUT"
116
- && urlDecode( encodedEmail ) == "first.last+promo%tag@example.com";
+ && findNoCase( "%25", requestURL )
117
+ && ( findNoCase( "%2B", requestURL ) || findNoCase( "+", requestURL ) );
118
} );
119
120
0 commit comments