Sha256: f96c71802fb8286d4b6fb0d1f6d2646797ee65254a1912f2c17ad0fd88fd3656
Contents?: true
Size: 363 Bytes
Versions: 8
Compression:
Stored size: 363 Bytes
Contents
require 'support/capybara_app_helper' RSpec.describe "Bing Integration" do before do setup_app(action: :bing) do |tracker| tracker.handler :bing, { tracker: '12345678' } end visit '/' end subject { page } it "embeds the script tag with tracker" do expect(page.find("body")).to have_content('var o = {ti: "12345678"};') end end
Version data entries
8 entries across 8 versions & 1 rubygems