diff options
Diffstat (limited to 'spec/views/tournaments/index.html.erb_spec.rb')
-rw-r--r-- | spec/views/tournaments/index.html.erb_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/views/tournaments/index.html.erb_spec.rb b/spec/views/tournaments/index.html.erb_spec.rb deleted file mode 100644 index bf36e06..0000000 --- a/spec/views/tournaments/index.html.erb_spec.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'spec_helper' - -describe "tournaments/index" do - before(:each) do - assign(:tournaments, [ - stub_model(Tournament, - :game => nil - ), - stub_model(Tournament, - :game => nil - ) - ]) - end - - it "renders a list of tournaments" do - render - # Run the generator again with the --webrat flag if you want to use webrat matchers - assert_select "tr>td", :text => nil.to_s, :count => 2 - end -end |