language: ruby
rvm:
  - 2.2.1
env:
  - DB=postgresql
script:
  - rspec spec
before_script:
  - bundle exec rake db:create RAILS_ENV=test
  - bundle exec rake db:migrate
  - bundle exec rake db:test:prepare
bundler_args:
  --binstubs=./bundler_sturbs
language: ruby
rvm:
  - 2.2.1
env:
  - DB=postgresql
script:
  - bin/rake test test/
before_script:
  - bundle exec rake db:create RAILS_ENV=test
  - bundle exec rake db:migrate
  - bundle exec rake db:test:prepare
bundler_args:
  --binstubs=./bundler_sturbs
Update script to run test
Update script to run test
