Skip to content

Commit 76e62fc

Browse files
committed
Spec update
1 parent ebed70d commit 76e62fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/mongoid/alize/to_callback_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def define_and_create(callback_name=:define_callback)
6969

7070
describe "#set_destroy_callback" do
7171
it "should set a destroy callback on the klass" do
72-
mock(@callback.klass).set_callback(:destroy, :after, "denormalize_destroy_to_head")
72+
mock(@callback.klass).set_callback(:destroy, :before, "denormalize_destroy_to_head")
7373
@callback.send(:set_destroy_callback)
7474
end
7575

0 commit comments

Comments
 (0)