Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
42d8e421
Commit
42d8e421
authored
Aug 06, 2020
by
jakeburden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change freeze-periods.json to freeze_periods.json
parent
4189f5cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
spec/frontend/deploy_freeze/components/deploy_freeze_modal_spec.js
...tend/deploy_freeze/components/deploy_freeze_modal_spec.js
+1
-1
spec/frontend/deploy_freeze/components/deploy_freeze_table_spec.js
...tend/deploy_freeze/components/deploy_freeze_table_spec.js
+1
-1
spec/frontend/deploy_freeze/store/actions_spec.js
spec/frontend/deploy_freeze/store/actions_spec.js
+1
-1
spec/frontend/deploy_freeze/store/mutations_spec.js
spec/frontend/deploy_freeze/store/mutations_spec.js
+1
-1
No files found.
spec/frontend/deploy_freeze/components/deploy_freeze_modal_spec.js
View file @
42d8e421
...
...
@@ -11,7 +11,7 @@ localVue.use(Vuex);
describe
(
'
Deploy freeze modal
'
,
()
=>
{
let
wrapper
;
let
store
;
const
freezePeriodsFixture
=
getJSONFixture
(
'
/api/freeze-periods/freeze
-
periods.json
'
);
const
freezePeriodsFixture
=
getJSONFixture
(
'
/api/freeze-periods/freeze
_
periods.json
'
);
const
timezoneDataFixture
=
getJSONFixture
(
'
/api/freeze-periods/timezone_data.json
'
);
beforeEach
(()
=>
{
...
...
spec/frontend/deploy_freeze/components/deploy_freeze_table_spec.js
View file @
42d8e421
...
...
@@ -50,7 +50,7 @@ describe('Deploy freeze table', () => {
});
it
(
'
displays data
'
,
()
=>
{
const
freezePeriodsFixture
=
getJSONFixture
(
'
/api/freeze-periods/freeze
-
periods.json
'
);
const
freezePeriodsFixture
=
getJSONFixture
(
'
/api/freeze-periods/freeze
_
periods.json
'
);
store
.
state
.
freezePeriods
=
freezePeriodsFixture
;
return
wrapper
.
vm
.
$nextTick
(()
=>
{
...
...
spec/frontend/deploy_freeze/store/actions_spec.js
View file @
42d8e421
...
...
@@ -13,7 +13,7 @@ jest.mock('~/flash.js');
describe
(
'
deploy freeze store actions
'
,
()
=>
{
let
mock
;
let
state
;
const
freezePeriodsFixture
=
getJSONFixture
(
'
/api/freeze-periods/freeze
-
periods.json
'
);
const
freezePeriodsFixture
=
getJSONFixture
(
'
/api/freeze-periods/freeze
_
periods.json
'
);
const
timezoneDataFixture
=
getJSONFixture
(
'
/api/freeze-periods/timezone_data.json
'
);
beforeEach
(()
=>
{
...
...
spec/frontend/deploy_freeze/store/mutations_spec.js
View file @
42d8e421
...
...
@@ -28,7 +28,7 @@ describe('Deploy freeze mutations', () => {
describe
(
'
RECEIVE_FREEZE_PERIODS_SUCCESS
'
,
()
=>
{
it
(
'
should set freeze periods and format timezones from identifiers to names
'
,
()
=>
{
const
timezoneNames
=
[
'
Berlin
'
,
'
UTC
'
,
'
Eastern Time (US & Canada)
'
];
const
freezePeriodsFixture
=
getJSONFixture
(
'
/api/freeze-periods/freeze
-
periods.json
'
);
const
freezePeriodsFixture
=
getJSONFixture
(
'
/api/freeze-periods/freeze
_
periods.json
'
);
mutations
[
types
.
RECEIVE_FREEZE_PERIODS_SUCCESS
](
stateCopy
,
freezePeriodsFixture
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment