spec/spec_helper.rb in appdash-0.6.0 vs spec/spec_helper.rb in appdash-0.6.1
- old
+ new
@@ -1,14 +1,14 @@
require 'rspec'
require 'rack'
+require 'rack/test'
require 'appdash'
+require 'appdash/middleware'
helpers = Module.new do
-
def atoh(annotations)
annotations.inject({}) {|h, a| h[a.key] = a.value; h }
end
-
end
RSpec.configure do |c|
c.include helpers
end