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