Sha256: e39406b71de16a89710aba6be4775b5c092a6bec591530143be910563d9c00b7
Contents?: true
Size: 471 Bytes
Versions: 3
Compression:
Stored size: 471 Bytes
Contents
require 'spec_helper' describe 'Rails 3 form matcher' do with_form_helper :railsform context "Rails 3 form example 1 view file" do form_file = File.join(erb_fixtures_dir, 'railsform-ex1.erb') it "content should match form expectations" do form_file.should have_content do |content| content.erb_code.should have_form_for '@person' do |form| form.should have_label :name end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems