Sha256: 53580d11902ca199b1575a7e555658c3bfa5d0ee8d8d87ef80ac51b90bd9c88d

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

require 'spec_helper'

describe Pose::ActiveRecordBaseAdditions do
  describe "::posify" do
    let(:posable) { create :posable_three, text_1: 't1', text_2: 't2' }

    it 'includes all listed fields in index' do
      posable.pose_fetch_content.should == 't1 t2 |custom text| |from pose block|'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pose-3.2.0 spec/lib/pose/activerecord_base_additions_spec.rb
pose-3.1.1 spec/lib/pose/activerecord_base_additions_spec.rb