Application cleanup

This commit is contained in:
Dmitriy Zaporozhets 2012-08-17 09:09:11 +03:00
parent 4ce034ca65
commit 813814f02e
19 changed files with 755 additions and 1123 deletions

View file

@ -3,7 +3,7 @@ namespace :dev do
task :tests do
["cucumber", "rspec spec"].each do |cmd|
puts "Starting to run #{cmd}..."
system("bundle exec #{cmd}")
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
raise "#{cmd} failed!" unless $?.exitstatus == 0
end
end