Sha256: f45eeafb8953c9f51c8d2232a4edabd966cd5ca78190d7a2d2368dc3d0084b7d
Contents?: true
Size: 400 Bytes
Versions: 1
Compression:
Stored size: 400 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe Breadcrumby::Viewer, '.list_options' do subject { described_class.new object } let!(:object) { build :school } it 'returns the options used on list element' do expect(subject.list_options).to eq( class: :breadcrumby, itemscope: true, itemtype: 'http://schema.org/BreadcrumbList' ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
breadcrumby-0.1.0 | spec/lib/breadcrumby/models/viewer/list_options_spec.rb |