Sha256: 2e69cc3619b19e91187888390aa3bb62c4c505349c96effe4ab6ef24f0b8f125

Contents?: true

Size: 667 Bytes

Versions: 3

Compression:

Stored size: 667 Bytes

Contents

begin
  require 'simplecov'
  SimpleCov.start
rescue LoadError
end
ENV["RAILS_ENV"] ||= 'test'
require "rails-footnotes"

module FooBar
  class Application < Rails::Application
    config.secret_key_base = 'foobar'
    config.root = Dir.new('.')
  end
end

ActionController::Base.class_eval do
  include Rails.application.routes.url_helpers
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'
  end

end

require 'rspec/rails'
require 'capybara/rspec'
require 'capybara/rails'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails-footnotes-4.1.5 spec/spec_helper.rb
rails-footnotes-4.1.4 spec/spec_helper.rb
rails-footnotes-4.1.3 spec/spec_helper.rb