Sha256: 4d7b64bf517177c91fc35a3847d771c094f147dc8216ab9599f0aa5021c72249

Contents?: true

Size: 260 Bytes

Versions: 4

Compression:

Stored size: 260 Bytes

Contents

require 'spec_helper'

describe Mongoid::History::Tracker do
  it 'should set tracker_class_name when included' do
    class MyTracker
      include Mongoid::History::Tracker
    end
    expect(Mongoid::History.tracker_class_name).to eq(:my_tracker)
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/mongoid-history-0.5.0/spec/unit/tracker_spec.rb
mongoid-history-0.5.0 spec/unit/tracker_spec.rb
mongoid-history-0.4.7 spec/unit/tracker_spec.rb
mongoid-history-0.4.5 spec/unit/tracker_spec.rb