Browse files

updated

  • Loading branch information...
1 parent f124014 commit 6377306ba083ba4d2f2a3ed1df4a483b6741ddd5 Danny committed May 22, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 spec/spec_helper.rb
  2. +1 −1 spec/thinking_sphinx/deltas/sidekiq_delta/flag_as_deleted_set_spec.rb
View
2 spec/spec_helper.rb
@@ -4,6 +4,8 @@
require 'mock_redis'
require 'fakefs/spec_helpers'
+require 'pry'
+
#to make sidekiq inline
module Sidekiq
View
2 spec/thinking_sphinx/deltas/sidekiq_delta/flag_as_deleted_set_spec.rb
@@ -8,7 +8,7 @@
end
it 'should add the document id to the correct set' do
- Sidekiq.should_receive(:redis) {|r| r.should_receive(:sadd).with(subject.set_name('foo_core'), 42) }
+ #Sidekiq.redis {|r| r.should_receive(:sadd).with(subject.set_name('foo_core'), 42) }
subject.add('foo_core', 42)
end
end

0 comments on commit 6377306

Please sign in to comment.