Fix coding standards in specs

This commit is contained in:
Thibault Jouan
2014-04-01 19:14:11 +00:00
parent e6f6475705
commit 2acf0371b5
10 changed files with 16 additions and 17 deletions

View File

@@ -7,7 +7,8 @@ describe 'playlists/edit' do
it 'renders a form to edit a playlist' do
render
expect(rendered).to have_selector("form[method=post][action='#{playlists_path}']")
expect(rendered)
.to have_selector("form[method=post][action='#{playlists_path}']")
expect(rendered).to have_selector('input[type=submit]')
end