Skip to content

Commit

Permalink
added product change challenge test
Browse files Browse the repository at this point in the history
  • Loading branch information
bkimminich committed Oct 30, 2014
1 parent a871cfc commit be5ce95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/restApiSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ describe('/rest', function () {

describe('challenge "changeProduct"', function () {

xit('should be possible to change product via PUT request without being logged in', function () {

it('should be possible to change product via PUT request without being logged in', function () {
browser.executeScript('var $http = angular.injector([\'myApp\']).get(\'$http\'); $http.put(\'/api/Products/9\', {description: \'<a href="http://kimminich.de" target="_blank">kimminich.de</a>\'});');
});

//protractor.expect.challengeSolved({challenge: 'changeProduct'});
protractor.expect.challengeSolved({challenge: 'changeProduct'});

});

Expand Down

0 comments on commit be5ce95

Please sign in to comment.