Sha256: 39e47597249d23a163c47c91dfdc0fac92ef80640a81b67eeb4d92fabd715ca3
Contents?: true
Size: 430 Bytes
Versions: 5
Compression:
Stored size: 430 Bytes
Contents
require 'support/capybara_app_helper' RSpec.describe 'Drift Integration' do before do setup_app(action: :drift) do |tracker| tracker.handler :drift, account_id: 'DRIFT_ID' end visit '/' end subject { page } it 'embeds the script with account_id' do expect(page.find('script')).to have_content('js.driftt.com') expect(page.find('script')).to have_content('drift.load(\'DRIFT_ID\')') end end
Version data entries
5 entries across 5 versions & 1 rubygems