blob: 642119d7899df11e7eb9359cf74fe6552e18c5d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
require 'spec_helper'
describe "matches/show" do
before(:each) do
@match = assign(:match, stub_model(Match,
:tournament => nil,
:name => "Name"
))
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(//)
rendered.should match(/Name/)
end
end
|