```ruby
require 'spec_helper'

describe "booking_imports/edit.html.haml" do
  before(:each) do
    @importer = assign(:booking_import, stub_model(BookingImport,
      :new_record? => false
    ))
  end

  it "renders the edit importer form" do
    render

    # Run the generator again with the --webrat-matchers flag if you want to use webrat matchers
    assert_select "form", :action => booking_import_path(@booking_import), :method => "post" do
    end
  end
end
```

Use webrat matcher in booking_imports edit view spec.
user
```ruby
require 'spec_helper'

describe "booking_imports/edit.html.haml" do
  before(:each) do
    @importer = assign(:booking_import, stub_model(BookingImport,
      :new_record? => false
    ))
  end

  it "renders the edit importer form" do
    render

    rendered.should have_selector("form", :action => booking_import_path(@booking_import), :method => "post") do |form|
    end
  end
end
```
assistant