box-o-sand/map-mash/spec/views/mash_tournaments/new.html.erb_spec.rb
Dan Buch d834b81003 Add 'map-mash/' from commit '7f16409d1257e7471fef35c18bcdf32856b908e3'
git-subtree-dir: map-mash
git-subtree-mainline: eacc351b17
git-subtree-split: 7f16409d12
2013-01-09 23:59:47 -05:00

19 lines
378 B
Ruby

require 'spec_helper'
describe "/mash_tournaments/new.html.erb" do
include MashTournamentsHelper
before(:each) do
assigns[:mash_tournament] = stub_model(MashTournament,
:new_record? => true
)
end
it "renders new mash_tournament form" do
render
response.should have_tag("form[action=?][method=post]", mash_tournaments_path) do
end
end
end