spec/spec_helper.rb in stately_scopes-0.0.2 vs spec/spec_helper.rb in stately_scopes-0.0.3
- old
+ new
@@ -31,6 +31,11 @@
def reload_widget
Object.send(:remove_const, :Widget)
load 'support/widget.rb'
end
+def reload_stately_scopes
+ Object.send(:remove_const, :'StatelyScopes')
+ load File.join(File.expand_path(File.dirname(__FILE__)), "..", "lib", "stately_scopes.rb")
+end
+
load 'support/widget.rb'