Skip to content

Commit

Permalink
Fix test names in failure messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Woolf committed May 11, 2015
1 parent 7f8218a commit c1c7606
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/realtime/presence.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ define(['ably', 'shared_helper', 'async'], function(Ably, helper, async) {
exitOnState('failed');
exitOnState('suspended');
} catch(e) {
test.ok(false, 'presence.enter0 failed with exception: ' + e.stack);
test.ok(false, 'presence.enter3 failed with exception: ' + e.stack);
done();
}
};
Expand Down Expand Up @@ -480,7 +480,7 @@ define(['ably', 'shared_helper', 'async'], function(Ably, helper, async) {
exitOnState('failed');
exitOnState('suspended');
} catch(e) {
test.ok(false, 'presence.enter0 failed with exception: ' + e.stack);
test.ok(false, 'presence.get0 failed with exception: ' + e.stack);
done();
}
};
Expand Down Expand Up @@ -660,7 +660,7 @@ define(['ably', 'shared_helper', 'async'], function(Ably, helper, async) {
exitOnState('failed');
exitOnState('suspended');
} catch(e) {
test.ok(false, 'presence.enter0 failed with exception: ' + e.stack);
test.ok(false, 'presence.attach0 failed with exception: ' + e.stack);
done();
}
};
Expand Down Expand Up @@ -760,7 +760,7 @@ define(['ably', 'shared_helper', 'async'], function(Ably, helper, async) {
});
});
} catch(e) {
test.ok(false, 'presence.enter0 failed with exception: ' + e.stack);
test.ok(false, 'presence.member0 failed with exception: ' + e.stack);
done();
}
};
Expand Down

0 comments on commit c1c7606

Please sign in to comment.