Sha256: e15715e5f016b428a4934012df5761708efc84a6d7996e4a27c432c7ffa0c0d3
Contents?: true
Size: 789 Bytes
Versions: 4
Compression:
Stored size: 789 Bytes
Contents
require 'spec_helper' module Kms describe SeoWrapper do let(:page) { FactoryGirl.create(:page) } subject { Kms::SeoWrapper.new(page) } describe '#title' do it "should return seo_title of wrapped object" do expect(subject.title).to eql(page.seo_title) end end describe '#keywords' do it "should return seo_keywords of wrapped object" do expect(subject.keywords).to eql(page.seo_keywords) end end describe '#description' do it "should return seo_description of wrapped object" do expect(subject.description).to eql(page.seo_description) end end describe '#h1' do it "should return seo_h1 of wrapped object" do expect(subject.h1).to eql(page.seo_h1) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems