Commit a1d90030 authored by Bryce Johnson's avatar Bryce Johnson

Update approvals-body spec for standardized number display.

parent 6fa89b1f
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
describe('Computed properties', function () { describe('Computed properties', function () {
describe('approvalsRequiredStringified', function () { describe('approvalsRequiredStringified', function () {
it('should display the correct string for 1 possible approver', function () { it('should display the correct string for 1 possible approver', function () {
const correctText = 'one more approval'; const correctText = '1 more approval';
expect(this.approvalsBody.approvalsRequiredStringified).toBe(correctText); expect(this.approvalsBody.approvalsRequiredStringified).toBe(correctText);
}); });
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
}); });
describe('approverNamesStringified', function () { describe('approverNamesStringified', function () {
// Preceded by: Requires {one more approval} required from _____ // Preceded by: Requires {1 more approval} required from _____
it('should display the correct string for 1 possible approver name', function (done) { it('should display the correct string for 1 possible approver name', function (done) {
const correctText = 'Approver 1'; const correctText = 'Approver 1';
Vue.nextTick(() => { Vue.nextTick(() => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment