Created
September 25, 2012 22:01
-
-
Save bfeigin/3784742 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shared_examples_for "a search batch finalizer enqueuer" do | |
it 'enqueues a search batch finalizer job if updating the search status achieves complete quorum' do | |
stub_complete_quorum(true) | |
puts described_class | |
debugger | |
perform rescue nil | |
job_class.should have_queued(subscription.key, batch_id) | |
end | |
end | |
described_class => PriorityGoogleSERPCollector | |
Within #perform, the code calls self.class which returns Object not PriorityGoo.. which it should. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment