Sha256: be74c94097d0bdfefa24f9b9860432407b03752f1f84a6879abdf38d79ddb799

Contents?: true

Size: 357 Bytes

Versions: 11

Compression:

Stored size: 357 Bytes

Contents

require "rails_helper"

module Kitchen
  describe Banana, type: :model do
    it { is_expected.to be_versioned }

    describe "#versions" do
      it "returns instances of Kitchen::BananaVersion", versioning: true do
        banana = described_class.create!
        expect(banana.versions.first).to be_a(Kitchen::BananaVersion)
      end
    end
  end
end

Version data entries

11 entries across 10 versions & 2 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/paper_trail-7.0.2/spec/models/kitchen/banana_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/paper_trail-5.2.3/spec/models/kitchen/banana_spec.rb
paper_trail-7.0.2 spec/models/kitchen/banana_spec.rb
paper_trail-7.0.1 spec/models/kitchen/banana_spec.rb
paper_trail-7.0.0 spec/models/kitchen/banana_spec.rb
paper_trail-6.0.2 spec/models/kitchen/banana_spec.rb
paper_trail-6.0.1 spec/models/kitchen/banana_spec.rb
paper_trail-6.0.0 spec/models/kitchen/banana_spec.rb
paper_trail-5.2.3 spec/models/kitchen/banana_spec.rb
paper_trail-5.2.2 spec/models/kitchen/banana_spec.rb
paper_trail-5.2.1 spec/models/kitchen/banana_spec.rb