Sha256: 72b42837dabf119c9ec62c44955546060d6b2ae1e991270d831ee4eb934dac46
Contents?: true
Size: 422 Bytes
Versions: 1
Compression:
Stored size: 422 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.should == tester.execute_at job.execute_at.should == reloaded.execute_at end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
afterparty-0.1.0 | spec/afterparty_job_spec.rb |