Rename Gitlab::Serialize
module to reuse it later
This commit is contained in:
parent
50aec8dd0d
commit
10c1a4d8e4
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in a new issue