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

describe "matches/show" do
  before(:each) do
    @match = assign(:match, stub_model(Match,
      :tournament => 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