Sha256: 2ad7ba54dad72ed6cd8c06460ef7b195284a7bb5fe63d3596711f2020ad92b98

Contents?: true

Size: 452 Bytes

Versions: 9

Compression:

Stored size: 452 Bytes

Contents

require 'rails_helper'

describe Fluxor, :type => :model do
  describe '`be_versioned` matcher' do
    it { is_expected.to_not be_versioned }
  end

  describe "Methods" do
    describe "Class" do
      subject { Fluxor }

      describe "#paper_trail_enabled_for_model?" do
        it { is_expected.to respond_to(:paper_trail_enabled_for_model?) }

        it { expect(subject.paper_trail_enabled_for_model?).to be false }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
paper_trail-4.2.0 spec/models/fluxor_spec.rb
paper_trail-4.1.0 spec/models/fluxor_spec.rb
paper_trail-4.0.2 spec/models/fluxor_spec.rb
paper_trail-4.0.1 spec/models/fluxor_spec.rb
paper_trail-4.0.0 spec/models/fluxor_spec.rb
paper_trail-4.0.0.rc2 spec/models/fluxor_spec.rb
paper_trail-4.0.0.rc1 spec/models/fluxor_spec.rb
paper_trail-4.0.0.beta2 spec/models/fluxor_spec.rb
paper_trail-4.0.0.beta1 spec/models/fluxor_spec.rb