diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-27 06:08:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-27 06:08:49 +0300 |
commit | f33d28f789f690bfc01c8b81d95259a9f1c68b79 (patch) | |
tree | 9187328d55a3621801353946d6dc2a1cd8af8cbf /spec/helpers | |
parent | 661be4dd35d8258dee746c26e919e6f552afbec9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/environments_helper_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/helpers/environments_helper_spec.rb b/spec/helpers/environments_helper_spec.rb index 0ebec3ed6d0..c0816f93a68 100644 --- a/spec/helpers/environments_helper_spec.rb +++ b/spec/helpers/environments_helper_spec.rb @@ -147,13 +147,4 @@ RSpec.describe EnvironmentsHelper, feature_category: :environment_management do expect(helper.environment_logs_data(project, environment)).to eq(expected_data) end end - - describe '#environment_data' do - it 'returns the environment as JSON' do - expected_data = { id: environment.id, - name: environment.name, - external_url: environment.external_url }.to_json - expect(helper.environment_data(environment)).to eq(expected_data) - end - end end |