spec/support/service.rb in cistern-2.4.1 vs spec/support/service.rb in cistern-2.5.0
- old
+ new
@@ -1,6 +1,13 @@
+RSpec.configure do |config|
+ config.before(:each) {
+ Object.send(:remove_const, :Sample) if Object.constants.include?(:Sample)
+ class Sample; include Cistern::Client; end
+ }
+end
+
class Sample; include Cistern::Client; end