Commit 10c1a4d8 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Rename `Gitlab::Serialize` module to reuse it later

parent 50aec8dd
......@@ -19,7 +19,7 @@ module Ci
end
serialize :options
serialize :yaml_variables, Gitlab::Serialize::Ci::Variables
serialize :yaml_variables, Gitlab::Serializer::Ci::Variables
validates :coverage, numericality: true, allow_blank: true
validates_presence_of :ref
......
module Gitlab
module Serialize
module Serializer
module Ci
# This serializer could make sure our YAML variables' keys and values
# are always strings. This is more for legacy build data because
......
require 'spec_helper'
describe Gitlab::Serialize::Ci::Variables do
describe Gitlab::Serializer::Ci::Variables do
subject do
described_class.load(described_class.dump(object))
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