Use jasmine_selenium_runner to run specs via Sauce

This commit is contained in:
Gregg Van Hove and Rajan Agaskar
2013-09-25 10:45:04 -07:00
parent 5017d1a4f1
commit 84692f545c
6 changed files with 35 additions and 84 deletions
+3 -6
View File
@@ -2,12 +2,9 @@ require "bundler"
Bundler::GemHelper.install_tasks
require "json"
require "jasmine"
unless ENV["JASMINE_BROWSER"] == 'phantomjs'
require "jasmine_selenium_runner"
end
load "jasmine/tasks/jasmine.rake"
# TODO: Is there better way to invoke this using Jasmine gem???
desc "Run jasmine core specs in a browser."
task :core_spec do
exec "ruby spec/jasmine_self_test_spec.rb"
end
task :default => :core_spec