Guest User

Untitled

a guest
Jul 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/bin/bash
  2. source ".rvmrc"
  3. ruby .git/hooks/run_tests.rb
  4.  
  5.  
  6. run_tests.rb
  7. -----------
  8. puts "Running tests..."
  9. `bundle exec rspec spec/* > /dev/null 2>&1 && cucumber -r features > /dev/null 2>&1`
  10. if $? != 0
  11. puts "Tests failed"
  12. exit(1)
  13. end
Add Comment
Please, Sign In to add comment