Sha256: 4a9813d4903efedd96b1e993399c319d856e12a9d4bc8de4eab678e6e7a61a43

Contents?: true

Size: 416 Bytes

Versions: 7

Compression:

Stored size: 416 Bytes

Contents

require 'test_helper'

class RenderGaClass < ActionView::TestCase
  test 'simple' do
    assert render_ga.include?('ga_code')
    assert render_ga(ga: '123').include?('123')
  end
end

class HelperSettings
  def self.title
    'title'
  end
  
  def self.keywords
    'keywords'
  end
  
  def self.description
    'description'
  end
  
  def self.ga
    'ga_code'
  end
  
  def self.domain
    'domain'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
h2ocube_rails_helper-0.0.13 test/render_ga_test.rb
h2ocube_rails_helper-0.0.12 test/render_ga_test.rb
h2ocube_rails_helper-0.0.11 test/render_ga_test.rb
h2ocube_rails_helper-0.0.10 test/render_ga_test.rb
h2ocube_rails_helper-0.0.9 test/render_ga_test.rb
h2ocube_rails_helper-0.0.8 test/render_ga_test.rb
h2ocube_rails_helper-0.0.7 test/render_ga_test.rb