Sha256: 17fa12da1dd2c8f8a59f6843982645f27df02ad5c3315e275285126014902ad8

Contents?: true

Size: 713 Bytes

Versions: 2

Compression:

Stored size: 713 Bytes

Contents

# The minimal Rails project was created to run specs against using:
# rails -m http://github.com/robinsp/rails_templates/raw/master/minimal.rb railsenv


ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/railsenv/config/environment")
require 'spec'
require 'spec/rails'

Spec::Runner.configure do |config|
  config.use_transactional_fixtures = true
  config.use_instantiated_fixtures  = false
  config.mock_with :mocha
end

plugin_spec_dir = File.dirname(__FILE__)
ActiveRecord::Base.logger = Logger.new(plugin_spec_dir + "/debug.log")

dir = File.expand_path(File.dirname(__FILE__))
require "#{dir}/../lib/robins_html_helpers"
require "#{dir}/../lib/robins_html_helpers/form_builder"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
robinsp-robins_html_helpers-0.2.0 spec/spec_helper.rb
robinsp-robins_html_helpers-0.2.2 spec/spec_helper.rb