From 423d0e5a440d8d66407522bc842ef273196173bc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 3 Mar 2014 22:20:02 -0500 Subject: run ./generate.sh --- spec/views/tournaments/edit.html.erb_spec.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 spec/views/tournaments/edit.html.erb_spec.rb (limited to 'spec/views/tournaments/edit.html.erb_spec.rb') diff --git a/spec/views/tournaments/edit.html.erb_spec.rb b/spec/views/tournaments/edit.html.erb_spec.rb deleted file mode 100644 index db7cbb5..0000000 --- a/spec/views/tournaments/edit.html.erb_spec.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'spec_helper' - -describe "tournaments/edit" do - before(:each) do - @tournament = assign(:tournament, stub_model(Tournament, - :game => nil - )) - end - - it "renders the edit tournament form" do - render - - # Run the generator again with the --webrat flag if you want to use webrat matchers - assert_select "form[action=?][method=?]", tournament_path(@tournament), "post" do - assert_select "input#tournament_game[name=?]", "tournament[game]" - end - end -end -- cgit v1.2.3-54-g00ecf