Sha256: 0a10ae081c1a7f34430cb672e3ba4f869c7c19b2c8b4ea58d3736ee614a8d781

Contents?: true

Size: 357 Bytes

Versions: 5

Compression:

Stored size: 357 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'
$:.unshift File.dirname(__FILE__)
require 'rails_app/config/environment'
require 'rails/test_help'
require 'helpers/template_helper'
require 'database_cleaner'
require 'minitest/rails/capybara'

class ActiveSupport::TestCase
  include TemplateHelper

  def setup
    DatabaseCleaner.clean
    remove_templates('pages')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
inverter-0.5.1 test/test_helper.rb
inverter-0.5.0 test/test_helper.rb
inverter-0.4.7 test/test_helper.rb
inverter-0.4.6 test/test_helper.rb
inverter-0.4.5 test/test_helper.rb