Commit ea39e76e authored by jakeburden's avatar jakeburden

Add fixture for timezone data list

parent 03e3e94a
......@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe 'Freeze Periods (JavaScript fixtures)' do
include JavaScriptFixturesHelpers
include Ci::PipelineSchedulesHelper
let_it_be(:admin) { create(:admin) }
let_it_be(:project) { create(:project, :repository, path: 'freeze-periods-project') }
......@@ -28,4 +29,11 @@ RSpec.describe 'Freeze Periods (JavaScript fixtures)' do
expect(response).to be_successful
end
end
describe Ci::PipelineSchedulesHelper, '(JavaScript fixtures)', type: :controler do
let(:response) { timezone_data.to_json }
it 'api/freeze-periods/timezone_data.json' do
end
end
end
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