Sha256: 7849e34216d7dbe5fb3646d393a1690ecb086756539c073a5fbb33c86892b55c

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

require 'test/unit'
require 'rubygems'
require 'bundler'
ENV['RAILS_ENV'] = 'test'
ENV['BUNDLE_GEMFILE'] = "#{File.dirname(__FILE__)}/rails311/Gemfile"
require "rails311/config/environment"
# routespec required in Gemfile
#require "routespec"

class TestRails311 < Test::Unit::TestCase
  def test_rails
    assert defined?(Rails)
    assert_equal "#{File.dirname(__FILE__)}/rails311", Rails.root.to_s
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
routespec-0.0.1 test/test_rails311.rb