summaryrefslogtreecommitdiff
path: root/spec/views/matches/index.html.erb_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/matches/index.html.erb_spec.rb')
-rw-r--r--spec/views/matches/index.html.erb_spec.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/spec/views/matches/index.html.erb_spec.rb b/spec/views/matches/index.html.erb_spec.rb
deleted file mode 100644
index d3be1b5..0000000
--- a/spec/views/matches/index.html.erb_spec.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-require 'spec_helper'
-
-describe "matches/index" do
- before(:each) do
- assign(:matches, [
- stub_model(Match,
- :tournament => nil,
- :name => "Name"
- ),
- stub_model(Match,
- :tournament => nil,
- :name => "Name"
- )
- ])
- end
-
- it "renders a list of matches" 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
- assert_select "tr>td", :text => "Name".to_s, :count => 2
- end
-end