Sha256: 063db0d197cf75c7ba7fdd366ba32b8253d288a45b82fd79d58547d157aa3141

Contents?: true

Size: 668 Bytes

Versions: 6

Compression:

Stored size: 668 Bytes

Contents

begin
  require 'simplecov'
  SimpleCov.start
rescue LoadError
end
ENV["RAILS_ENV"] ||= 'test'
require "rails-footnotes"
Rails.logger = Logger.new(STDOUT)

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.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

6 entries across 6 versions & 1 rubygems

Version Path
rails-footnotes-4.1.2 spec/spec_helper.rb
rails-footnotes-4.1.1 spec/spec_helper.rb
rails-footnotes-4.1.0 spec/spec_helper.rb
rails-footnotes-4.0.2 spec/spec_helper.rb
rails-footnotes-4.0.1 spec/spec_helper.rb
rails-footnotes-4.0.0 spec/spec_helper.rb