diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-03-02 21:14:48 -0500 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-03-02 21:14:48 -0500 |
commit | 31444c5a8cf56473a326227932dd36785c905ed1 (patch) | |
tree | d1398492d724eb4d9a32146e87596f7a0fb80622 /spec/views/matches/show.html.erb_spec.rb | |
parent | ec0ee835e8671fc5a421b7e7bcb54d4eec6deedb (diff) | |
parent | fefe3f469243d6c932c256cc8798bae35e4ff1c4 (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'spec/views/matches/show.html.erb_spec.rb')
-rw-r--r-- | spec/views/matches/show.html.erb_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/views/matches/show.html.erb_spec.rb b/spec/views/matches/show.html.erb_spec.rb index 4460feb..642119d 100644 --- a/spec/views/matches/show.html.erb_spec.rb +++ b/spec/views/matches/show.html.erb_spec.rb @@ -3,7 +3,8 @@ require 'spec_helper' describe "matches/show" do before(:each) do @match = assign(:match, stub_model(Match, - :tournament => nil + :tournament => nil, + :name => "Name" )) end @@ -11,5 +12,6 @@ describe "matches/show" 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 |