lib/hyper-spec.rb in hyper-spec-0.99.6 vs lib/hyper-spec.rb in hyper-spec-1.0.alpha1
- old
+ new
@@ -15,14 +15,14 @@
config.mock_with :rspec
config.add_setting :debugger_width, default: nil
config.before(:each) do
- Hyperloop.class_eval do
+ Hyperstack.class_eval do
def self.on_server?
true
end
- end if defined?(Hyperloop)
+ end if defined?(Hyperstack)
# for compatibility with HyperMesh
HyperMesh.class_eval do
def self.on_server?
true
end