Sha256: 38161b51f90dcfc0523005aab77afa4ff1b88ddb22b1c6c6a501b283727d4ab8

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

# Parse JSON response body
def body
  JSON.parse(@response.body)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
siringa-0.1.0 test/test_helper.rb
siringa-0.0.9 test/test_helper.rb
siringa-0.0.8 test/test_helper.rb
siringa-0.0.7 test/test_helper.rb