You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
323 B
Ruby
16 lines
323 B
Ruby
11 years ago
|
require 'spec_helper'
|
||
|
|
||
|
feature "Example page with embedded player", :js => true do
|
||
|
|
||
|
let!(:asciicast) { create(:asciicast) }
|
||
|
|
||
|
scenario 'Visiting' do
|
||
|
visit example_asciicast_path(asciicast)
|
||
|
|
||
|
within_frame "asciicast-iframe-#{asciicast.id}" do
|
||
|
expect(page).to have_selector('.play-button')
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|