Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (34 sloc) 0.81 kb
begin
require 'simplecov'
SimpleCov.start
rescue LoadError
end
ENV["RAILS_ENV"] ||= 'test'
require "sprockets/railtie"
require "rails-footnotes"
module FooBar
class Application < Rails::Application
config.secret_key_base = 'foobar'
config.root = Dir.new('./spec')
config.eager_load = false
end
end
ActionController::Base.class_eval do
include Rails.application.routes.url_helpers
end
class ApplicationController < ActionController::Base
end
RSpec.configure do |config|
Rails.application.initialize!
Rails.application.routes.draw do
get 'footnotes/foo'
get 'footnotes/foo_holder'
get 'footnotes/foo_js'
get 'footnotes/foo_download'
get 'partials/index'
get 'files/index'
end
end
require 'rspec/rails'
require 'capybara/rspec'
require 'capybara/rails'
Jump to Line
Something went wrong with that request. Please try again.