Update specs to new rspec syntax

This commit is contained in:
Thibault Jouan
2014-04-01 18:15:44 +00:00
parent 99d106cf36
commit 4cef7aeab9
32 changed files with 173 additions and 179 deletions

View File

@@ -12,7 +12,7 @@ feature 'Home page' do
visit root_path
page.should have_content('Electro')
expect(page).to have_content 'Electro'
end
scenario 'displays last track added' do
@@ -27,6 +27,6 @@ feature 'Home page' do
visit root_path
page.body.should match(/Mega song 2.+Mega song 1/m)
expect(page.body).to match /Mega song 2.+Mega song 1/m
end
end