fixed failing specs

This commit is contained in:
Phil Hughes 2018-01-30 10:52:38 +00:00
parent b367cc0ca2
commit f9acd80569
No known key found for this signature in database
GPG Key ID: 32245528C52E0F9F
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ feature 'Project > Members > Share with Group', :js do
select2 group.id, from: '#link_group_id'
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
end

View File

@ -37,7 +37,7 @@ describe('Api', () => {
describe('group', () => {
it('fetches a group', (done) => {
const groupId = '123456';
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${groupId}.json`;
const expectedUrl = `${dummyUrlRoot}/api/${dummyApiVersion}/groups/${groupId}`;
mock.onGet(expectedUrl).reply(200, {
name: 'test',
});