Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Puppet module - Automated Comptoir du Libre deployment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Comptoir
Puppet module - Automated Comptoir du Libre deployment
Commits
260f0d60
Commit
260f0d60
authored
10 months ago
by
Fabrice Gangler
Browse files
Options
Downloads
Patches
Plain Diff
fix: adapting some tests to the current version of the Comptoir software (2)
parent
a0049fce
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
Resolve "use PDK 3.2.0 and Ruby 3.2.0"
Pipeline
#76434
passed
10 months ago
Stage: syntax
Stage: unit
Stage: acceptance
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
spec/acceptance/comptoir_spec.rb
+9
-1
9 additions, 1 deletion
spec/acceptance/comptoir_spec.rb
with
9 additions
and
1 deletion
spec/acceptance/comptoir_spec.rb
+
9
−
1
View file @
260f0d60
...
@@ -39,6 +39,10 @@ describe 'comptoir' do
...
@@ -39,6 +39,10 @@ describe 'comptoir' do
its
(
:stdout
)
{
is_expected
.
to
match
%r{HOME PAGE}
}
# Fixme
its
(
:stdout
)
{
is_expected
.
to
match
%r{HOME PAGE}
}
# Fixme
end
end
# describe command('curl http://127.0.0.1') do
# its(:stdout) { is_expected.to match %r{v0.10.0} }
# end
describe
command
(
'curl --head http://127.0.0.1/health-check'
)
do
describe
command
(
'curl --head http://127.0.0.1/health-check'
)
do
its
(
:stdout
)
{
is_expected
.
to
match
%r{x-comptoir-name-fixme-database-status: DB_CONNECTION_SUCCESSFUL}
}
# Fixme
its
(
:stdout
)
{
is_expected
.
to
match
%r{x-comptoir-name-fixme-database-status: DB_CONNECTION_SUCCESSFUL}
}
# Fixme
end
end
...
@@ -149,9 +153,13 @@ describe 'comptoir' do
...
@@ -149,9 +153,13 @@ describe 'comptoir' do
end
end
describe
command
(
'curl http://127.0.0.1'
)
do
describe
command
(
'curl http://127.0.0.1'
)
do
its
(
:stdout
)
{
is_expected
.
not_
to
match
%r{HOME PAGE}
}
# Fixme
its
(
:stdout
)
{
is_expected
.
to
match
%r{HOME PAGE}
}
# Fixme
end
end
# describe command('curl http://127.0.0.1') do
# its(:stdout) { is_expected.to match %r{v0.10.0} }
# end
describe
command
(
'curl --head http://127.0.0.1/health-check'
)
do
describe
command
(
'curl --head http://127.0.0.1/health-check'
)
do
its
(
:stdout
)
{
is_expected
.
to
match
%r{x-comptoir-name-fixme-database-status: DB_CONNECTION_SUCCESSFUL}
}
# Fixme
its
(
:stdout
)
{
is_expected
.
to
match
%r{x-comptoir-name-fixme-database-status: DB_CONNECTION_SUCCESSFUL}
}
# Fixme
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment