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:
parent
20a1406c9a
commit
63faa87f67
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue