Sha256: 72481b6645ce7ff65e961d8c1612bb2a5d3d190cc5217610848ba0afc744dae6

Contents?: true

Size: 745 Bytes

Versions: 8

Compression:

Stored size: 745 Bytes

Contents

# 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_resource/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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
formtastic-2.0.2 spec/support/test_environment.rb
formtastic-2.0.1 spec/support/test_environment.rb
formtastic-2.0.0 spec/support/test_environment.rb
formtastic-2.0.0.rc5 spec/support/test_environment.rb
formtastic-2.0.0.rc4 spec/support/test_environment.rb
formtastic-2.0.0.rc3 spec/support/test_environment.rb
formtastic-2.0.0.rc2 spec/support/test_environment.rb
formtastic-2.0.0.rc1 spec/support/test_environment.rb