Fix syntax in view specs

This commit is contained in:
Thibault Jouan
2011-09-22 21:54:09 +00:00
parent 00eff9131a
commit 03e94cb7c1
5 changed files with 35 additions and 31 deletions

View File

@@ -32,7 +32,8 @@ describe 'tracks/show.html.haml' do
it 'displays a text fallback for UA without support' do
render
rendered.should have_selector('audio',
rendered.should have_selector(
'audio',
:text => 'Your browser does not support the audio element'
)
end