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

30 lines (24 sloc) 0.713 kb
# encoding: utf-8
require 'rspec'
require 'rspec_tag_matchers'
RSpec.configure do |config|
config.include RspecTagMatchers
config.include CustomMacros
config.mock_with :rspec
end
require "action_controller/railtie"
require 'active_model'
# Create a simple rails application for use in testing the viewhelper
module FormtasticTest
class Application < ::Rails::Application
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"
config.active_support.deprecation = :stderr
end
end
FormtasticTest::Application.initialize!
require 'rspec/rails'
# Quick hack to avoid the 'Spec' deprecation warnings from rspec_tag_matchers
module Spec
include RSpec
end
Jump to Line
Something went wrong with that request. Please try again.