Sha256: 50b560da0dca8a2995fc5965ff0118c09fef1c994bcf32b222154443030f8371
Contents?: true
Size: 578 Bytes
Versions: 5
Compression:
Stored size: 578 Bytes
Contents
require 'spec_helper' module Gxapi describe 'Gxapi Integration with Rails' do before(:all) do Gxapi.reload_experiments end context 'GET /posts' do it 'renders the google analytics data for a user' do visit posts_path expect(page.body).to match(/cxApi\.setChosenVariation/) end it 'renders the content expected when a parameter is passed in for the variant value' do visit posts_path(variant: 'fake_var') expect(page.body).to have_content('Fake Var Version') end end end end
Version data entries
5 entries across 5 versions & 1 rubygems