Refactor spec clean up

This commit is contained in:
Thibault Jouan
2011-09-20 23:19:28 +00:00
parent 27550fd14e
commit abb7b07c89
3 changed files with 3 additions and 8 deletions

View File

@@ -35,8 +35,4 @@ feature 'Tracks' do
page.should have_xpath "//audio[@src='#{sound_path(track.sound)}']"
visit find('audio')[:src]
end
after do
`rm -f #{Rails.root}/data/sounds/*`
end
end