Sha256: cfcafbb8a40e178909eb1b0c4d454685d3063572014b66124c7eb005afb74c70
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
require 'spec_helper' describe Widget do it { should be_versioned } context 'be_versioned matcher', :versioning => true do it 'should respond to be_versioned' do widget = Widget.create :name => 'Bob', :an_integer => 1 widget.should be_versioned widget.versions.size.should == 1 end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
paper_trail_without_deprecated-3.0.0.beta1 | spec/models/widget_spec.rb |
paper_trail-3.0.0.beta1 | spec/models/widget_spec.rb |