require 'spec_helper'

describe 'date_tag' do
  it "date_tag :dob" do
    expect(
      render do
        %(<%= fh.date_tag :dob %>)
      end
    ).to eq(
      %(<input name="dob" type="date">\n)
    )
  end
end
