Sha256: 161ce8de6859be7f3ba1546ae00c9ba52d1e7ec522b92cad0184aa9b5670c4aa

Contents?: true

Size: 411 Bytes

Versions: 2

Compression:

Stored size: 411 Bytes

Contents

require 'spec_helper'

describe "appointments/edit" do
  before(:each) do
    @appointment = assign(:appointment, stub_model(Appointment))
  end

  it "renders the edit appointment form" do
    render

    # Run the generator again with the --webrat flag if you want to use webrat matchers
    assert_select "form[action=?][method=?]", appointment_path(@appointment), "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/edit.html.erb_spec.rb
rails_marketplace-0.0.1 spec/views/rails_marketplace/catalog/edit.html.erb_spec.rb