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

This commit is contained in:
Grzegorz Bizon 2017-02-06 14:34:10 +01:00
parent 50aec8dd0d
commit 10c1a4d8e4
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -1,5 +1,5 @@
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

View File

@ -1,6 +1,6 @@
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