delayed_job_loner 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,8 @@ describe DelayedJobLoner do
|
|
19
19
|
story2.delay(:unique_on => [:id]).tell.persisted?.should eql true
|
20
20
|
end
|
21
21
|
|
22
|
+
# This test is broken right now because of an issue with attr_accessor not being able to be set by mass assignment in my tests.
|
23
|
+
# It works in real life...
|
22
24
|
it "should not create a job if :unique_on is specified and a similar job exists" do
|
23
25
|
story = Story.create(:text => "foo")
|
24
26
|
story.reload
|