aboutsummaryrefslogtreecommitdiffstats
path: root/src/scenario/matchers.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenario/matchers.js')
-rw-r--r--src/scenario/matchers.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scenario/matchers.js b/src/scenario/matchers.js
index 0dfbc455..8ef154e9 100644
--- a/src/scenario/matchers.js
+++ b/src/scenario/matchers.js
@@ -6,6 +6,10 @@ angular.scenario.matcher('toEqual', function(expected) {
return angular.equals(this.actual, expected);
});
+angular.scenario.matcher('toBe', function(expected) {
+ return this.actual === expected;
+});
+
angular.scenario.matcher('toBeDefined', function() {
return angular.isDefined(this.actual);
});