diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-14 00:09:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-14 00:09:24 +0300 |
commit | 0698388e65ed3556a11ec7eb2e76e7b7f9f0489e (patch) | |
tree | e1f5121a371023c3bf14fab12d4ca4a2ff7b6429 /spec/serializers/variable_entity_spec.rb | |
parent | d9aac35d79489591396456aceefa609de4b8b05c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers/variable_entity_spec.rb')
-rw-r--r-- | spec/serializers/variable_entity_spec.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/serializers/variable_entity_spec.rb b/spec/serializers/variable_entity_spec.rb deleted file mode 100644 index 0b20207d815..00000000000 --- a/spec/serializers/variable_entity_spec.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe VariableEntity do - let(:variable) { create(:ci_variable) } - let(:entity) { described_class.new(variable) } - - describe '#as_json' do - subject { entity.as_json } - - it 'contains required fields' do - expect(subject).to include(:id, :key, :value, :protected, :environment_scope, :variable_type) - end - end -end |