spec/integration/lifecycle_hooks_spec.rb in bulldog-0.1.1 vs spec/integration/lifecycle_hooks_spec.rb in bulldog-0.2.0

- old
+ new

@@ -192,10 +192,10 @@ style :normal process(:types => [:image, :video], :on => :test_event){runs += 1} end thing = Thing.new(:attachment => @file) thing.process_attachment(:attachment, :test_event) - thing.attachment = uploaded_file_with_content('test.avi', "RIFF AVI ") + thing.attachment = uploaded_file('test.mov') thing.process_attachment(:attachment, :test_event) runs.should == 2 end it "should run multiple callbacks if given" do