spec/seam/worker_spec.rb in seam-0.0.6 vs spec/seam/worker_spec.rb in seam-0.0.7

- old
+ new

@@ -1,11 +1,11 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "worker" do before do - test_moped_session['efforts'].drop + Seam::Persistence.destroy end after do Timecop.return end @@ -269,9 +269,10 @@ effort.data['hit 1'].must_equal 1 effort.data['hit 2'].must_equal 1 effort.data['hit 3'].must_equal 1 effort.complete?.must_equal true + #effort.completed_at.must_equal Time.now # FUTURE WAVES send_postcard_if_necessary_worker.execute_all determine_if_postcard_should_be_sent_worker.execute_all wait_for_attempting_contact_stage_worker.execute_all