spec/lib/sidekiq-status/worker_spec.rb in sidekiq-status-0.7.0 vs spec/lib/sidekiq-status/worker_spec.rb in sidekiq-status-0.8.0
- old
+ new
@@ -11,10 +11,10 @@
end
end
describe ".expiration" do
subject { StubJob.new }
-
+
it "allows to set/get expiration" do
expect(subject.expiration).to be_nil
subject.expiration = :val
expect(subject.expiration).to eq(:val)
end