Sha256: 0eedb86f3072601e8a50e57fe495c51ffcaf0b6715e4c09ef2ffc2e57c10295e
Contents?: true
Size: 458 Bytes
Versions: 2
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' describe AfterpartyJob do before :each do AfterpartyJob.destroy_all end it "makes a job correctly" do tester = test_job tester.execute_at = Time.now + 10 job = AfterpartyJob.make_with_job tester job.reload (reloaded = job.reify).class.should == tester.class reloaded.execute_at.utc.to_i.should == tester.execute_at.utc.to_i job.execute_at.utc.to_i.should == reloaded.execute_at.utc.to_i end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
afterparty-0.2.0 | spec/afterparty_job_spec.rb |
afterparty-0.1.1 | spec/afterparty_job_spec.rb |