Sha256: de9335e5ee0f03b48c142e71ebbe0a54e710418d6262b9da312beca612397f01
Contents?: true
Size: 669 Bytes
Versions: 1
Compression:
Stored size: 669 Bytes
Contents
require 'rails_helper' feature 'clearing all of the delayed jobs' do include SharedFunctionsForFeatures scenario 'clearing the jobs from the delayed index' do given_there_are_two_delayed_jobs_enqueued_at_different_times when_i_visit_the_delayed_jobs_page and_i_click_the_clear_all_jobs_button then_i_should_be_on_the_delayed_jobs_page and_i_should_not_see_any_jobs_on_the_page end def and_i_should_not_see_any_jobs_on_the_page expect(page).to_not have_content 'SomeIvarJob' expect(page).to_not have_content 'JobWithoutParams' end def and_i_click_the_clear_all_jobs_button click_button 'Clear All Delayed Jobs' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
resque-scheduler-web-0.0.4 | spec/features/delayed/clear_all_jobs_spec.rb |