Commit 42d8e421 authored by jakeburden's avatar jakeburden

Change freeze-periods.json to freeze_periods.json

parent 4189f5cd
...@@ -11,7 +11,7 @@ localVue.use(Vuex); ...@@ -11,7 +11,7 @@ localVue.use(Vuex);
describe('Deploy freeze modal', () => { describe('Deploy freeze modal', () => {
let wrapper; let wrapper;
let store; 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'); const timezoneDataFixture = getJSONFixture('/api/freeze-periods/timezone_data.json');
beforeEach(() => { beforeEach(() => {
......
...@@ -50,7 +50,7 @@ describe('Deploy freeze table', () => { ...@@ -50,7 +50,7 @@ describe('Deploy freeze table', () => {
}); });
it('displays data', () => { 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; store.state.freezePeriods = freezePeriodsFixture;
return wrapper.vm.$nextTick(() => { return wrapper.vm.$nextTick(() => {
......
...@@ -13,7 +13,7 @@ jest.mock('~/flash.js'); ...@@ -13,7 +13,7 @@ jest.mock('~/flash.js');
describe('deploy freeze store actions', () => { describe('deploy freeze store actions', () => {
let mock; let mock;
let state; 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'); const timezoneDataFixture = getJSONFixture('/api/freeze-periods/timezone_data.json');
beforeEach(() => { beforeEach(() => {
......
...@@ -28,7 +28,7 @@ describe('Deploy freeze mutations', () => { ...@@ -28,7 +28,7 @@ describe('Deploy freeze mutations', () => {
describe('RECEIVE_FREEZE_PERIODS_SUCCESS', () => { describe('RECEIVE_FREEZE_PERIODS_SUCCESS', () => {
it('should set freeze periods and format timezones from identifiers to names', () => { it('should set freeze periods and format timezones from identifiers to names', () => {
const timezoneNames = ['Berlin', 'UTC', 'Eastern Time (US & Canada)']; 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); mutations[types.RECEIVE_FREEZE_PERIODS_SUCCESS](stateCopy, freezePeriodsFixture);
......
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