Added Dockersupport. See README_DOCKER.md for further instructions.

This commit is contained in:
Benjamin Meichsner 2015-04-26 15:20:05 +02:00
parent 8fca19a2a1
commit 83dd18eaa7
6 changed files with 133 additions and 1 deletions

12
bin/test Executable file
View 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