discourse/lib/tasks/smoke_test.rake

6 lines
203 B
Ruby
Raw Normal View History

2013-02-20 20:07:22 -05:00
desc "run phantomjs based smoke tests on current build"
task "smoke:test" => :environment do
results = `phantomjs #{Rails.root}/spec/phantom_js/smoke_test.js #{Discourse.base_url}`
puts results
end