diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-20 15:26:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-20 15:26:25 +0300 |
commit | a09983ae35713f5a2bbb100981116d31ce99826e (patch) | |
tree | 2ee2af7bd104d57086db360a7e6d8c9d5d43667a /spec/models/design_management | |
parent | 18c5ab32b738c0b6ecb4d0df3994000482f34bd8 (diff) |
Add latest changes from gitlab-org/gitlab@13-2-stable-ee
Diffstat (limited to 'spec/models/design_management')
7 files changed, 7 insertions, 7 deletions
diff --git a/spec/models/design_management/action_spec.rb b/spec/models/design_management/action_spec.rb index 753c31b1549..59c58191718 100644 --- a/spec/models/design_management/action_spec.rb +++ b/spec/models/design_management/action_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require 'spec_helper' -describe DesignManagement::Action do +RSpec.describe DesignManagement::Action do describe 'relations' do it { is_expected.to belong_to(:design) } it { is_expected.to belong_to(:version) } diff --git a/spec/models/design_management/design_action_spec.rb b/spec/models/design_management/design_action_spec.rb index da4ad41dfcb..958b1dd9124 100644 --- a/spec/models/design_management/design_action_spec.rb +++ b/spec/models/design_management/design_action_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require 'spec_helper' -describe DesignManagement::DesignAction do +RSpec.describe DesignManagement::DesignAction do describe 'validations' do describe 'the design' do let(:fail_validation) { raise_error(/design/i) } diff --git a/spec/models/design_management/design_at_version_spec.rb b/spec/models/design_management/design_at_version_spec.rb index f6fa8df243c..2c640ee5c2c 100644 --- a/spec/models/design_management/design_at_version_spec.rb +++ b/spec/models/design_management/design_at_version_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe DesignManagement::DesignAtVersion do +RSpec.describe DesignManagement::DesignAtVersion do include DesignManagementTestHelpers let_it_be(:issue, reload: true) { create(:issue) } diff --git a/spec/models/design_management/design_collection_spec.rb b/spec/models/design_management/design_collection_spec.rb index bd48f742042..c5e290da759 100644 --- a/spec/models/design_management/design_collection_spec.rb +++ b/spec/models/design_management/design_collection_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require 'spec_helper' -describe DesignManagement::DesignCollection do +RSpec.describe DesignManagement::DesignCollection do include DesignManagementTestHelpers let_it_be(:issue, reload: true) { create(:issue) } diff --git a/spec/models/design_management/design_spec.rb b/spec/models/design_management/design_spec.rb index bc1f54f057e..345147390c0 100644 --- a/spec/models/design_management/design_spec.rb +++ b/spec/models/design_management/design_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe DesignManagement::Design do +RSpec.describe DesignManagement::Design do include DesignManagementTestHelpers let_it_be(:issue) { create(:issue) } diff --git a/spec/models/design_management/repository_spec.rb b/spec/models/design_management/repository_spec.rb index 996316eeec9..0115e0c139c 100644 --- a/spec/models/design_management/repository_spec.rb +++ b/spec/models/design_management/repository_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -describe DesignManagement::Repository do +RSpec.describe DesignManagement::Repository do let(:project) { create(:project) } let(:repository) { described_class.new(project) } diff --git a/spec/models/design_management/version_spec.rb b/spec/models/design_management/version_spec.rb index ab6958ea94a..cd52f4129dc 100644 --- a/spec/models/design_management/version_spec.rb +++ b/spec/models/design_management/version_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require 'spec_helper' -describe DesignManagement::Version do +RSpec.describe DesignManagement::Version do let_it_be(:issue) { create(:issue) } describe 'relations' do |