spec/worker_spec.rb in fnordmetric-0.9.7 vs spec/worker_spec.rb in fnordmetric-1.0.0
- old
+ new
@@ -1,13 +1,10 @@
require ::File.expand_path('../spec_helper.rb', __FILE__)
describe FnordMetric::Worker do
before(:each) do
- @worker = FnordMetric::Worker.new(
- { :fnordpsace => proc{} },
- :redis_prefix => "fnordmetric"
- )
+ @worker = FnordMetric::Worker.new()
end
it "should generate the correct pubsub-key" do
@worker.pubsub_key.should == "fnordmetric-announce"
end