Sha256: 1015e858274484ad962e39921f6683b242fcfa3c182c3a811a9bf6125726e766
Contents?: true
Size: 457 Bytes
Versions: 10
Compression:
Stored size: 457 Bytes
Contents
require 'spec_helper' describe VestalVersions::Versioned do it 'respond to the "versioned?" method' do ActiveRecord::Base.should respond_to(:versioned?) User.should respond_to(:versioned?) end it 'return true for the "versioned?" method if the model is versioned' do User.should be_versioned end it 'return false for the "versioned?" method if the model is not versioned' do ActiveRecord::Base.should_not be_versioned end end
Version data entries
10 entries across 10 versions & 6 rubygems