Adjust error message to not point to a readme file that does not exist.

This commit is contained in:
Blade Barringer
2015-10-26 17:27:08 -05:00
parent 13bca6b9a9
commit 2790008937
2 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ describe.only('PUT /user', () => {
it(`does not allow updating ${testName}`, () => {
let errorText = [];
each(data, (value, path) => {
errorText.push(`path \`${path}\` was not saved, as it's a protected path. See https://github.com/HabitRPG/habitrpg/blob/develop/API.md for PUT /api/v2/user.`);
errorText.push(`path \`${path}\` was not saved, as it's a protected path.`);
});
return expect(api.put('/user', data)).to.eventually.be.rejected.and.eql({
code: 401,
@@ -63,7 +63,7 @@ describe.only('PUT /user', () => {
it(`does not allow updating ${testName}`, () => {
let errorText = [];
each(data, (value, path) => {
errorText.push(`path \`${path}\` was not saved, as it's a protected path. See https://github.com/HabitRPG/habitrpg/blob/develop/API.md for PUT /api/v2/user.`);
errorText.push(`path \`${path}\` was not saved, as it's a protected path.`);
});
return expect(api.put('/user', data)).to.eventually.be.rejected.and.eql({
code: 401,