spec/spec_helper.rb in rmega-0.0.6 vs spec/spec_helper.rb in rmega-0.1.0
- old
+ new
@@ -1,12 +1,5 @@
-require 'pry'
+RMEGA_LIB_PATH = File.expand_path File.join(File.dirname(__FILE__), '../lib')
+$: << RMEGA_LIB_PATH
-def libpath
- File.expand_path File.join(File.dirname(__FILE__), '../lib')
-end
-
-def require_all
- $: << libpath
- require 'rmega'
-end
-
-require_all
\ No newline at end of file
+require 'pry'
+require 'rmega'