Use described_class
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8088#note_20133505
This commit is contained in:
parent
bcc09ca760
commit
cc1eb7fec5
1 changed files with 1 additions and 2 deletions
|
@ -2,8 +2,7 @@ require 'spec_helper'
|
||||||
|
|
||||||
describe Gitlab::Serialize::YamlVariables do
|
describe Gitlab::Serialize::YamlVariables do
|
||||||
subject do
|
subject do
|
||||||
Gitlab::Serialize::YamlVariables.load(
|
described_class.load(described_class.dump(object))
|
||||||
Gitlab::Serialize::YamlVariables.dump(object))
|
|
||||||
end
|
end
|
||||||
|
|
||||||
let(:object) do
|
let(:object) do
|
||||||
|
|
Loading…
Reference in a new issue