Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- source ".rvmrc"
- ruby .git/hooks/run_tests.rb
- run_tests.rb
- -----------
- puts "Running tests..."
- `bundle exec rspec spec/* > /dev/null 2>&1 && cucumber -r features > /dev/null 2>&1`
- if $? != 0
- puts "Tests failed"
- exit(1)
- end
Add Comment
Please, Sign In to add comment