Sha256: 0e132f067eb0da1766d0eefd919450f4459cb3eec30421e6341be0ed12f9a4a7
Contents?: true
Size: 391 Bytes
Versions: 2
Compression:
Stored size: 391 Bytes
Contents
require 'spec_helper' describe "appointments/new" do before(:each) do assign(:appointment, stub_model(Appointment).as_new_record) end it "renders new appointment form" do render # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "form[action=?][method=?]", appointments_path, "post" do end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_marketplace-0.0.2 | spec/views/rails_marketplace/catalog/new.html.erb_spec.rb |
rails_marketplace-0.0.1 | spec/views/rails_marketplace/catalog/new.html.erb_spec.rb |