Sha256: cd05dffe64ec191b9f7a34f04f0c63979fea88800aa5482c2143885bb16e965f

Contents?: true

Size: 372 Bytes

Versions: 3

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe MicroCms::ApplicationHelper, type: :helper do
  describe '#micro_cms_asset_tags' do
    describe 'returns a script and css tag containing data from the micro_cms gem' do
      subject { helper.micro_cms_asset_tags }

      it { is_expected.to match(/<script>.*micro_cms.*<style>/m) }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
micro_cms-0.2.1 spec/helpers/micro_cms/application_helper_spec.rb
micro_cms-0.2.0 spec/helpers/micro_cms/application_helper_spec.rb
micro_cms-0.1.2 spec/helpers/micro_cms/application_helper_spec.rb