Skip to content

Commit

Permalink
return currentURl() rather than path, ref #3719
Browse files Browse the repository at this point in the history
  • Loading branch information
shellandbull committed Apr 2, 2015
1 parent 24440e0 commit ebfee6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -21,6 +21,6 @@ test('visiting /<%= dasherizedModuleName %>', function(assert) {
visit('/<%= dasherizedModuleName %>');

andThen(function() {
assert.equal(currentPath(), '<%= dasherizedModuleName %>');
assert.equal(currentURL(), '/<%= dasherizedModuleName %>');
});
});
2 changes: 1 addition & 1 deletion tests/fixtures/generate/acceptance-test-expected.js
Expand Up @@ -21,6 +21,6 @@ test('visiting /foo', function(assert) {
visit('/foo');

andThen(function() {
assert.equal(currentPath(), 'foo');
assert.equal(currentURL(), '/foo');
});
});

0 comments on commit ebfee6e

Please sign in to comment.