features/support/env.rb in ginatra-2.2.0 vs features/support/env.rb in ginatra-2.2.1
- old
+ new
@@ -1,6 +1,6 @@
-current_path = File.expand_path(File.dirname(__FILE__))
-require "#{current_path}/../../spec/spec_helper"
+$:.unshift File.expand_path("#{File.dirname(__FILE__)}/../../spec")
+require "spec_helper"
World do
def app
Ginatra::App
end