spec/driver_spec.rb in resque-bus-0.2.10 vs spec/driver_spec.rb in resque-bus-0.3.0

- old
+ new

@@ -32,10 +32,10 @@ it "should match multiple events in same app" do Driver.subscription_matches("bus_event_type" => "event5").collect{|s| [s.app_key, s.key, s.queue_name, s.class_name]}.should =~ [["app3", "event[45]", "default", "::ResqueBus::Rider"], ["app3", "event5", "default", "::ResqueBus::Rider"]] end end - describe ".peform" do + describe ".perform" do let(:attributes) { {"x" => "y"} } before(:each) do ResqueBus.redis.smembers("queues").should == [] ResqueBus.redis.lpop("queue:app1_default").should be_nil \ No newline at end of file