Update to rails 3.1.0
* Bump rails version to 3.1.0 in Gemfile * Update config files * Fix bcrypt monkey patch for specs * Fix TracksController * Replace track streaming with track download * Remove assets from application layout
This commit is contained in:
@@ -34,7 +34,7 @@ feature 'Tracks' do
|
||||
|
||||
visit track_path(track)
|
||||
|
||||
page.should have_xpath "//audio[@src='#{stream_track_path(track)}']"
|
||||
page.should have_xpath "//audio[@src='#{download_track_path(track)}']"
|
||||
visit find('audio')[:src]
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user