Commit f9acd805 authored by Phil Hughes's avatar Phil Hughes

fixed failing specs

parent b367cc0c
...@@ -122,7 +122,7 @@ feature 'Project > Members > Share with Group', :js do ...@@ -122,7 +122,7 @@ feature 'Project > Members > Share with Group', :js do
select2 group.id, from: '#link_group_id' select2 group.id, from: '#link_group_id'
fill_in 'expires_at_groups', with: (Time.now + 4.5.days).strftime('%Y-%m-%d') fill_in 'expires_at_groups', with: (Time.now + 4.5.days).strftime('%Y-%m-%d')
page.find('body').click click_on 'share-with-group-tab'
find('.btn-create').click find('.btn-create').click
end end
......
...@@ -37,7 +37,7 @@ describe('Api', () => { ...@@ -37,7 +37,7 @@ describe('Api', () => {
describe('group', () => { describe('group', () => {
it('fetches a group', (done) => { it('fetches a group', (done) => {
const groupId = '123456'; const groupId = '123456';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${groupId}.json`; const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${groupId}`;
mock.onGet(expectedUrl).reply(200, { mock.onGet(expectedUrl).reply(200, {
name: 'test', name: 'test',
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment