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
|
||||
subject do
|
||||
Gitlab::Serialize::YamlVariables.load(
|
||||
Gitlab::Serialize::YamlVariables.dump(object))
|
||||
described_class.load(described_class.dump(object))
|
||||
end
|
||||
|
||||
let(:object) do
|
||||
|
|
Loading…
Reference in a new issue