Sha256: 39fdd5d3aa94b28d2306afe71c11db4a5f37b4dec748fdfe3cd55999bbf50a59

Contents?: true

Size: 373 Bytes

Versions: 6

Compression:

Stored size: 373 Bytes

Contents

require File.expand_path('../spec_helper', __FILE__)

describe ActiveRecord::Duplicate do
  it 'extends ActiveRecord::Base' do
    ActiveRecord::Base.must_include(ActiveRecord::Duplicate)
    ActiveRecord::Base.must_respond_to(:attr_duplicatable)
    ActiveRecord::Base.must_respond_to(:before_validation)
    ActiveRecord::Base.must_respond_to(:after_validation)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activerecord-duplicate-0.6.1 spec/railtie_spec.rb
activerecord-duplicate-0.6.0 spec/railtie_spec.rb
activerecord-duplicate-0.5.1 spec/railtie_spec.rb
activerecord-duplicate-0.5.0 spec/railtie_spec.rb
activerecord-duplicate-0.4.2 spec/railtie_spec.rb
activerecord-duplicate-0.4.1 spec/railtie_spec.rb