scube-server/spec/features/tracks/player_spec.rb
Thibault Jouan c1477a2e89 Remove an expectation in tracks player spec
sounds/show is already tested in sounds feature specs.
2015-05-01 15:25:31 +00:00

14 lines
282 B
Ruby

feature 'Tracks player' do
include AcceptanceHelpers
background { sign_in }
scenario 'includes a player in track page' do
track = create :track_with_sound
visit track_path(track)
expect(page).to have_xpath "//audio[@src='#{sound_path track.sound}']"
end
end