debian-mirror-gitlab/spec/frontend/fixtures/timezones.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
386 B
Ruby
Raw Normal View History

2021-11-11 11:23:49 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe TimeZoneHelper, '(JavaScript fixtures)' do
include JavaScriptFixturesHelpers
include TimeZoneHelper
let(:response) { @timezones.sort_by! { |tz| tz[:name] }.to_json }
2022-01-26 12:08:38 +05:30
%I[short abbr full].each do |format|
it "timezones/#{format}.json" do
@timezones = timezone_data(format: format)
end
2021-11-11 11:23:49 +05:30
end
end