Sha256: e02cff1e34655a35f9a68e6c5d156b5757d594bea45cc030d1fb170f8c2569d7

Contents?: true

Size: 561 Bytes

Versions: 1

Compression:

Stored size: 561 Bytes

Contents

require 'rspec'
# require 'database_cleaner'

API_ROOT = Pathname.new(File.expand_path(File.dirname(__FILE__ + "/../../..")))
# Support files
Dir[API_ROOT + "spec/support/**/*.rb"].each { |f| require f }

require API_ROOT + "spec/dummy/config/environment"

# Dir[API_ROOT + "app/models/**/*.rb"].each { |f| require f }

# # Truncate the database when the tests are done
# DatabaseCleaner.strategy = :truncation
# 
# RSpec.configure do |c|
#   c.after(:each) do
#     DatabaseCleaner.clean
#   end
# end

# def p(*args)
#   puts caller.join("\n")
#   super
# end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sensis-0.0.3 spec/spec_helper.rb