Sha256: bc9bd1e801bce4a401e9e3baf0a12cecba571aa78821abd236bf5c67c6b74946
Contents?: true
Size: 328 Bytes
Versions: 5
Compression:
Stored size: 328 Bytes
Contents
require 'test_helper' class DateModifierTest < ActiveSupport::TestCase include SetBuilder::Modifiers test "should constrain our date queries to A.D." do modifier = DateModifier.new({:in_the_last => [Date.today.year, "years"]}) assert_equal "x>='0001-01-01'", modifier.build_conditions_for("x") end end
Version data entries
5 entries across 5 versions & 1 rubygems