Sha256: 8060d6f60eaf01210c15836a3f63f069c4f9aa8ec322a278e2200bdaf2684266

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

#
# spec_helper.rb
#
# Setup the tests, define global spec methods
#
#
Spree.endpoint = "http://example.com/api"

def load_webstub_response(stub_name)
  file = File.open(File.join(File.dirname(__FILE__), "support", "webstub", stub_name))
  BW::JSON.parse file.read
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree-wrap-0.0.2 spec/spec_helper.rb
spree-wrap-0.0.1 spec/spec_helper.rb