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

describe "tournaments/show" do
  before(:each) do
    @tournament = assign(:tournament, stub_model(Tournament,
      :game => nil
    ))
  end

  it "renders attributes in <p>" do
    render
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(//)
  end
end