diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-11-18 22:40:47 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-11-18 22:41:11 +0300 |
commit | 43898f8efbe4981ad2ca67e7804db2c73fe2f3e2 (patch) | |
tree | 5bf08388e5eef0f9eecbf804ee0cdde5635f6864 /spec/javascripts/environments/environment_actions_spec.js.es6 | |
parent | 8765fcdca77591537709c778c84285439afabb2b (diff) |
Fix broken tests
Diffstat (limited to 'spec/javascripts/environments/environment_actions_spec.js.es6')
-rw-r--r-- | spec/javascripts/environments/environment_actions_spec.js.es6 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/environments/environment_actions_spec.js.es6 b/spec/javascripts/environments/environment_actions_spec.js.es6 index 1097582a8e9..c9ac7a73fd0 100644 --- a/spec/javascripts/environments/environment_actions_spec.js.es6 +++ b/spec/javascripts/environments/environment_actions_spec.js.es6 @@ -12,11 +12,11 @@ describe('Actions Component', () => { const actionsMock = [ { name: 'bar', - play_url: 'https://gitlab.com/play', + play_path: 'https://gitlab.com/play', }, { name: 'foo', - play_url: '#', + play_path: '#', }, ]; @@ -32,6 +32,6 @@ describe('Actions Component', () => { ).toEqual(actionsMock.length); expect( component.$el.querySelector('.dropdown-menu li a').getAttribute('href') - ).toEqual(actionsMock[0].play_url); + ).toEqual(actionsMock[0].play_path); }); }); |