lib/guard/jasmine.rb in guard-jasmine-0.7.1 vs lib/guard/jasmine.rb in guard-jasmine-0.7.2
- old
+ new
@@ -18,10 +18,11 @@
attr_accessor :last_run_failed, :last_failed_paths
DEFAULT_OPTIONS = {
:jasmine_url => 'http://localhost:3000/jasmine',
:phantomjs_bin => '/usr/local/bin/phantomjs',
+ :timeout => 10000,
:notification => true,
:hide_success => false,
:all_on_start => true,
:keep_failed => true,
:all_after_pass => true,
@@ -35,9 +36,10 @@
#
# @param [Array<Guard::Watcher>] watchers the watchers in the Guard block
# @param [Hash] options the options for the Guard
# @option options [String] :jasmine_url the url of the Jasmine test runner
# @option options [String] :phantomjs_bin the location of the PhantomJS binary
+ # @option options [Integer] :timeout the maximum time in milliseconds to wait for the spec runner to finish
# @option options [Boolean] :notification show notifications
# @option options [Boolean] :hide_success hide success message notification
# @option options [Integer] :max_error_notify maximum error notifications to show
# @option options [Boolean] :all_on_start run all suites on start
# @option options [Boolean] :keep_failed keep failed suites and add them to the next run again