Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-02-02 21:54:00 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-02-02 21:54:00 +0300
commit3443f3eb125186679afcbca2d58943e288691f2b (patch)
treed8b307ed29fe519ef29af528571648a3eb5ac624 /spec/helpers/auto_devops_helper_spec.rb
parentc120b7a1fe575766c000e8e49387e1ef05671cda (diff)
Rename AutoDevopsHelper helper methods
Diffstat (limited to 'spec/helpers/auto_devops_helper_spec.rb')
-rw-r--r--spec/helpers/auto_devops_helper_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/helpers/auto_devops_helper_spec.rb b/spec/helpers/auto_devops_helper_spec.rb
index 1fcbad5875d..1950c2b129b 100644
--- a/spec/helpers/auto_devops_helper_spec.rb
+++ b/spec/helpers/auto_devops_helper_spec.rb
@@ -88,12 +88,12 @@ describe AutoDevopsHelper do
context 'when the service is missing' do
before do
- allow(helper).to receive(:missing_service?).and_return(true)
+ allow(helper).to receive(:missing_auto_devops_service?).and_return(true)
end
context 'when the domain is missing' do
before do
- allow(helper).to receive(:missing_domain?).and_return(true)
+ allow(helper).to receive(:missing_auto_devops_domain?).and_return(true)
end
it { is_expected.to match(/Auto Review Apps and Auto Deploy need a domain name and a .* to work correctly./) }
@@ -101,7 +101,7 @@ describe AutoDevopsHelper do
context 'when the domain is not missing' do
before do
- allow(helper).to receive(:missing_domain?).and_return(false)
+ allow(helper).to receive(:missing_auto_devops_domain?).and_return(false)
end
it { is_expected.to match(/Auto Review Apps and Auto Deploy need a .* to work correctly./) }
@@ -110,8 +110,8 @@ describe AutoDevopsHelper do
context 'when the domain is missing' do
before do
- allow(helper).to receive(:missing_service?).and_return(false)
- allow(helper).to receive(:missing_domain?).and_return(true)
+ allow(helper).to receive(:missing_auto_devops_service?).and_return(false)
+ allow(helper).to receive(:missing_auto_devops_domain?).and_return(true)
end
it { is_expected.to eq('Auto Review Apps and Auto Deploy need a domain name to work correctly.') }