spec/functional/scheduler_spec.rb in khronos-0.0.3.pre4 vs spec/functional/scheduler_spec.rb in khronos-0.1.0
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe Khronos::Scheduler do
subject { Khronos::Scheduler }
- let(:scheduler) { subject.new }
+ let(:scheduler) { subject }
before(:all) do
ENV['KHRONOS_STORAGE'] = 'sqlite3://localhost/spec/tmp/scheduler.db'
@storage = Khronos::Storage.new