Sha256: 37f6e393bea54b99542ab8167e5e808cbf9f3763357147448eab85f962c25d8a

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

require "spec_helper"

describe "layouts/application.html.erb" do
  it "contains the analytics.js loader" do
    render

    # rendered.should contain("analytics.load")
    # rendered.should contain("analytics.initialize")
    expect(view).to render_template(:partial => "_loader", :count => 1)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
analytics-js-rails-0.11.0 spec/views/layouts/application.html.erb_spec.rb