Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
Restyaboard
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Ali Arshad
Restyaboard
Commits
21b199e9
Commit
21b199e9
authored
Aug 30, 2015
by
Tsubasa Namiki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docker spec
parent
8ee49b3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
service_spec.rb
spec/restyaboard/service_spec.rb
+19
-0
No files found.
spec/restyaboard/service_spec.rb
View file @
21b199e9
...
@@ -7,4 +7,22 @@ end
...
@@ -7,4 +7,22 @@ end
describe
port
(
1234
)
do
describe
port
(
1234
)
do
it
{
should
be_listening
}
it
{
should
be_listening
}
end
describe
docker_container
(
'dockerrestyaboard_restyaboard_1'
)
do
it
{
should
be_running
}
end
describe
docker_container
(
'dockerrestyaboard_postgres_1'
)
do
it
{
should
be_running
}
end
describe
docker_container
(
'dockerrestyaboard_elasticsearch_1'
)
do
it
{
should
be_running
}
end
describe
docker_container
(
'dockerrestyaboard_data00restyaboard_1'
)
do
it
{
should
have_volume
(
'/usr/share/nginx/html/media'
,
'/volumes/data00restyaboard'
)
}
it
{
should
have_volume
(
'/var/lib/postgresql/data'
,
'/volumes/data00postgres'
)
}
it
{
should
have_volume
(
'/usr/share/elasticsearch/data'
,
'/volumes/data00elasticsearch'
)
}
end
end
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment