Sha256: 38f2dd9c3205b38dbe28126a959800a14a8cdee699e71f0a6746d0575d2caaac

Contents?: true

Size: 899 Bytes

Versions: 29

Compression:

Stored size: 899 Bytes

Contents

ENV["RAILS_ENV"] = "test"

# Expand the path to environment so that Ruby does not load it multiple times
# File.expand_path can be removed if Ruby 1.9 is in use.
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'application'

require 'test/unit'
require 'active_record/fixtures'
require 'action_controller/test_process'
require 'action_web_service/test_invoke'
require 'breakpoint'

Test::Unit::TestCase.fixture_path = File.dirname(__FILE__) + "/fixtures/"

class Test::Unit::TestCase
  # Turn these on to use transactional fixtures with table_name(:fixture_name) instantiation of fixtures
  # self.use_transactional_fixtures = true
  # self.use_instantiated_fixtures  = false

  def create_fixtures(*table_names)
    Fixtures.create_fixtures(File.dirname(__FILE__) + "/fixtures", table_names)
  end

  # Add more helper methods to be used by all tests here...
end

Version data entries

29 entries across 29 versions & 4 rubygems

Version Path
gettext-1.10.0-mswin32 samples/rails/test/test_helper.rb
gettext-1.9.0-mswin32 samples/rails/test/test_helper.rb
gettext-1.8.0-mswin32 samples/rails/test/test_helper.rb
gettext-1.7.0-mswin32 samples/rails/test/test_helper.rb
gettext-1.6.0-mswin32 samples/rails/test/test_helper.rb
gettext-1.5.0-mswin32 samples/rails/test/test_helper.rb
gettext-1.4.0-mswin32 samples/rails/test/test_helper.rb
gettext-1.3.0-mswin32 samples/rails/test/test_helper.rb
gettext-1.2.0-mswin32 samples/rails/test/test_helper.rb
gettext-1.1.1-mswin32 samples/rails/test/test_helper.rb
gettext-1.1.0-mswin32 samples/rails/test/test_helper.rb
gettext-1.0.0-mswin32 samples/rails/test/test_helper.rb
feedreader-0.2.3 test/test_helper.rb
gettext-1.0.0 samples/rails/test/test_helper.rb
gettext-1.1.0 samples/rails/test/test_helper.rb
gettext-1.2.0 samples/rails/test/test_helper.rb
gettext-1.1.1 samples/rails/test/test_helper.rb
gettext-1.10.0 samples/rails/test/test_helper.rb
gettext-1.4.0 samples/rails/test/test_helper.rb
gettext-1.3.0 samples/rails/test/test_helper.rb