aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/scenario/DSL.js2
-rw-r--r--test/scenario/DSLSpec.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/scenario/DSL.js b/src/scenario/DSL.js
index a017f29d..feedcdcc 100644
--- a/src/scenario/DSL.js
+++ b/src/scenario/DSL.js
@@ -49,7 +49,7 @@ angular.scenario.dsl.expect = {
return {
count: {
toEqual: function(number) {
- $scenario.addStep("Expect to see " + number + " items repeated with selector '" + selector + "'", function(done) {
+ $scenario.addStep("Expect that there are " + number + " items in Repeater with selector '" + selector + "'", function(done) {
var items = this.testDocument.find(selector);
if (items.length != number) {
this.result.fail("Expected " + number + " but was " + items.length);
diff --git a/test/scenario/DSLSpec.js b/test/scenario/DSLSpec.js
index 0cce7b75..5aac9752 100644
--- a/test/scenario/DSLSpec.js
+++ b/test/scenario/DSLSpec.js
@@ -46,7 +46,7 @@ describe("DSL", function() {
describe('repeater', function() {
it('should check the count of repeated elements', function() {
dslExpect.repeater('.repeater-row').count.toEqual(2);
- expect(lastStep.name).toEqual("Expect to see 2 items repeated with selector '.repeater-row'");
+ expect(lastStep.name).toEqual("Expect that there are 2 items in Repeater with selector '.repeater-row'");
var html = "<div class='repeater-row'>a</div><div class='repeater-row'>b</div>";
executeStep(lastStep, html);
});