spec/spec_helper.rb in rindle-0.1.0 vs spec/spec_helper.rb in rindle-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
require 'rindle'
def kindle_root; File.join(File.dirname(__FILE__), 'data', 'kindle'); end
# this is to reset the Singleton'ish nature of the Kindle module
-module Rindle
+class Rindle
def self.reset
self.class_variables.each do |var|
eval "#{var} = nil"
end
end