Skip to content

Commit

Permalink
Fix RSL4a: check NSInvalidArgumentException for invalid cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardopereira committed Jan 12, 2016
1 parent 9e2b9cb commit 6a12ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ablySpec/RestChannel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class RestChannel: QuickSpec {

invalidCases.forEach { caseItem in
waitUntil(timeout: testTimeout) { done in
expect { channel.publish(caseItem, callback: nil) }.to(raiseException())
expect { channel.publish(caseItem, callback: nil) }.to(raiseException(named: NSInvalidArgumentException))
done()
}
}
Expand Down

0 comments on commit 6a12ff0

Please sign in to comment.