Sha256: 2bedcad9ca49e01ced22a79813a22f4f3e9ab290afd9aa5450ddcd5706bac991

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 Bytes

Contents

ENV["RAILS_ENV"] = "test"
require File.expand_path("../../../../config/environment", __FILE__)
if Systeem.test_framework == "minitest"
  require "minitest/spec"
  require "minitest/spec"
end
require "rails/test_help"

DatabaseCleaner.strategy = :truncation
DatabaseCleaner.clean_with :truncation

module SysteemConfig
  Features = Dir["./" + SelfSysteem.test_dir + "/system/support/affirmations/**/*.yml"].reject {|f| f[/_db|_session/]}
  Session = ActionController::TestSession.new
end

if defined? Devise::TestHelpers
  class ActionController::TestCase
    include Devise::TestHelpers
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
self_systeem-0.1.0 lib/generators/self_systeem/templates/systeem_config.rb