Added Dockersupport. See README_DOCKER.md for further instructions.
This commit is contained in:
parent
8fca19a2a1
commit
83dd18eaa7
6 changed files with 133 additions and 1 deletions
12
bin/test
Executable file
12
bin/test
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Set test variables
|
||||
export DATABASE_URL=mysql2://root:secret@mysql/test
|
||||
export RAILS_ENV=test
|
||||
|
||||
# Start virtuals X environment to allow integration testing via firefox/iceweasel
|
||||
export DISPLAY=:99
|
||||
Xvfb :99 &
|
||||
|
||||
# Start tests
|
||||
rspec
|
||||
Loading…
Add table
Add a link
Reference in a new issue