Sha256: 3a2be3205ee1ef5e4b80243439cb221a0552f772d987cbe4879fc17ddebeb3fb

Contents?: true

Size: 780 Bytes

Versions: 13

Compression:

Stored size: 780 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_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
    config.secret_key_base = "secret"
    config.eager_load = false
  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

13 entries across 13 versions & 1 rubygems

Version Path
formnestic-1.0.12 spec/support/test_environment.rb
formnestic-1.0.11 spec/support/test_environment.rb
formnestic-1.0.10 spec/support/test_environment.rb
formnestic-1.0.9 spec/support/test_environment.rb
formnestic-1.0.8 spec/support/test_environment.rb
formnestic-1.0.7 spec/support/test_environment.rb
formnestic-1.0.6 spec/support/test_environment.rb
formnestic-1.0.5 spec/support/test_environment.rb
formnestic-1.0.4 spec/support/test_environment.rb
formnestic-1.0.3 spec/support/test_environment.rb
formnestic-1.0.2 spec/support/test_environment.rb
formnestic-1.0.1 spec/support/test_environment.rb
formnestic-1.0.0 spec/support/test_environment.rb