test/helper.rb in toadhopper-0.9.4 vs test/helper.rb in toadhopper-0.9.5

- old
+ new

@@ -1,3 +1,8 @@ -Bundler.require_env(:test) +Bundler.setup(:runtime, :test) +Bundler.require(:runtime, :test) -require File.join(File.dirname(__FILE__), "..", "lib", "toadhopper") +require File.expand_path("../../lib/toadhopper", __FILE__) + +def toadhopper + @toadhopper ||= ToadHopper.new(ENV['HOPTOAD_API_KEY'] || "test api key") +end