Sha256: de58cdeaf5e17ee3c17105a0e45ad442c34658a0d896da12972dfac2ba2d9a70

Contents?: true

Size: 529 Bytes

Versions: 7

Compression:

Stored size: 529 Bytes

Contents

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

require File.expand_path("../sample/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 }

# For Generators
require 'rails/generators/test_case'


class Rails::Generators::TestCase
  destination File.expand_path("../tmp", File.dirname(__FILE__))
  setup :prepare_destination

  def javascripts_path
    "app/assets/"
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
batman-rails-0.16.1 test/test_helper.rb
batman-rails-0.16.0 test/test_helper.rb
batman-rails-0.15.4 test/test_helper.rb
batman-rails-0.15.3 test/test_helper.rb
batman-rails-0.15.2 test/test_helper.rb
batman-rails-0.15.1 test/test_helper.rb
batman-rails-0.15.0 test/test_helper.rb