Sha256: 1cc31abaf69974caef3b5d2e231f4d8fb400f1cb11e043c756698732e8aacc6a

Contents?: true

Size: 506 Bytes

Versions: 2

Compression:

Stored size: 506 Bytes

Contents

require "rubygems"

require 'spec'

gem 'activesupport', "2.3.4"
gem 'actionpack', ">= 2.2.0"

require 'active_support'
require 'action_pack'
require 'action_controller'
require 'action_view'

require 'ostruct'

ActionView::Helpers::InstanceTag.class_eval do
  class << self; alias new_with_backwards_compatibility new; end
end

$: << (File.dirname(__FILE__) + "/../lib")
require "calendar_date_select"

class String
  def to_regexp
    is_a?(Regexp) ? self : Regexp.new(Regexp.escape(self.to_s))
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
calendar_date_select-1.16.1 spec/spec_helper.rb
calendar_date_select-1.16 spec/spec_helper.rb