Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Fixed general settings acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinansfield committed Feb 26, 2019
1 parent e3d5689 commit d2a1127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/templates/settings/general.hbs
Expand Up @@ -95,7 +95,6 @@
<div class="gh-setting" data-test-setting="icon">
{{#gh-uploader
extensions=iconExtensions
uploadUrl="/images/upload/"
paramsHash=(hash purpose="icon")
onComplete=(action "imageUploaded" "icon")
as |uploader|
Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/settings/general-test.js
Expand Up @@ -199,7 +199,7 @@ describe('Acceptance: Settings - General', function () {
).to.not.exist;

// failed upload shows error
this.server.post('/images/', function () {
this.server.post('/images/upload/', function () {
return {
errors: [{
errorType: 'ValidationError',
Expand Down Expand Up @@ -268,7 +268,7 @@ describe('Acceptance: Settings - General', function () {
).to.not.exist;

// failed upload shows error
this.server.post('/images/', function () {
this.server.post('/images/upload/', function () {
return {
errors: [{
errorType: 'ValidationError',
Expand Down

0 comments on commit d2a1127

Please sign in to comment.