summaryrefslogtreecommitdiff
path: root/spec/views/teams/new.html.erb_spec.rb
blob: 6a054756e1697e9037bf0e81c7029cba3c209882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'spec_helper'

describe "teams/new" do
  before(:each) do
    assign(:team, stub_model(Team).as_new_record)
  end

  it "renders new team form" do
    render

    # Run the generator again with the --webrat flag if you want to use webrat matchers
    assert_select "form[action=?][method=?]", teams_path, "post" do
    end
  end
end