fix sharding skip for rspec 3

fixes CNVS-16812

Change-Id: If638a2cc3d9a72746af5b66fa86411a5e7b0c22b
Reviewed-on: https://gerrit.instructure.com/44200
Product-Review: Rob Orton <rob@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Bryan Madsen <bryan@instructure.com>
Reviewed-by: Bryan Madsen <bryan@instructure.com>
QA-Review: Bryan Madsen <bryan@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
This commit is contained in:
Cody Cutrer 2014-11-10 13:38:48 -07:00
parent 20a1406c9a
commit 63faa87f67
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ unless SHARDING_ENABLED
module ShardRSpecHelper module ShardRSpecHelper
def self.included(klass) def self.included(klass)
klass.before do klass.before do
pending "needs a sharding implementation" skip "needs a sharding implementation"
end end
require File.expand_path(File.dirname(__FILE__) + '/support/onceler/noop') unless defined?(Onceler::Noop) require File.expand_path(File.dirname(__FILE__) + '/support/onceler/noop') unless defined?(Onceler::Noop)
klass.send(:include, Onceler::Noop) klass.send(:include, Onceler::Noop)