Sha256: 5d8ddda39c9fc1eaf4df3232ade94aaad2c6e6f3bf79830c1ee3659a36d0f126

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

require "minitest/autorun"
require_relative "../lib/funky_form"

class MiniTest::Test
  private

  def new_funky_form(&block)
    Class.new do
      include FunkyForm
      model "Anonymous"
      instance_eval(&block) if block_given?
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
funky_form-0.2.1 test/test_helper.rb
funky_form-0.2.0 test/test_helper.rb
funky_form-0.1.3 test/test_helper.rb