Sha256: ee190a1534ec21d370fb4fb810332901cb27b5ed25e1bdcb98c00ee5538a362a

Contents?: true

Size: 373 Bytes

Versions: 31

Compression:

Stored size: 373 Bytes

Contents

require 'support/capybara_app_helper'

RSpec.describe "VWO Integration" do
  before do
    setup_app(action: :vwo) do |tracker|
      tracker.handler :vwo, { account_id: '123456' }
    end

    visit '/'
  end

  subject { page }

  it "embeds the script tag" do
    expect(page).to have_content("this.load('//dev.visualwebsiteoptimizer.com/j.php?a='+ '123456'")
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
rack-tracker-1.13.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.12.1 spec/integration/vwo_integration_spec.rb
rack-tracker-1.12.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.11.2 spec/integration/vwo_integration_spec.rb
rack-tracker-1.11.1 spec/integration/vwo_integration_spec.rb
rack-tracker-1.11.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.10.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.9.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.8.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.7.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.6.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.5.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.4.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.3.1 spec/integration/vwo_integration_spec.rb
rack-tracker-1.3.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.2.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.1.0 spec/integration/vwo_integration_spec.rb
rack-tracker-1.0.2 spec/integration/vwo_integration_spec.rb
rack-tracker-1.0.1 spec/integration/vwo_integration_spec.rb
rack-tracker-1.0.0 spec/integration/vwo_integration_spec.rb