Sha256: ec97cff8d995a02ae2e275e1bcfa7448f57065397343a58570b0c2ea879d64c8

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Breadcrumby::Viewer, '.link_tag_name_options' do
  subject { described_class.new object }

  let!(:object) { build :school }

  it 'returns options used on link' do
    expect(subject.link_tag_name_options).to eq(itemprop: :name)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
breadcrumby-0.1.0 spec/lib/breadcrumby/models/viewer/link_tag_name_options_spec.rb