mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Remove 'should' duplication.
This commit is contained in:
parent
e12d157e43
commit
ac09f68f7e
1 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,7 @@ class HasPaperTrailModelTest < ActiveSupport::TestCase
|
|||
assert @widget.live?
|
||||
end
|
||||
|
||||
should 'should not have changes' do
|
||||
should 'not have changes' do
|
||||
assert_equal Hash.new, @widget.versions.last.changeset
|
||||
end
|
||||
|
||||
|
@ -196,7 +196,7 @@ class HasPaperTrailModelTest < ActiveSupport::TestCase
|
|||
assert_equal 1, @reified_widget.fluxors.length
|
||||
end
|
||||
|
||||
should 'should not have changes' do
|
||||
should 'not have changes' do
|
||||
assert_equal Hash.new, @widget.versions.last.changeset
|
||||
end
|
||||
end
|
||||
|
@ -777,7 +777,7 @@ class HasPaperTrailModelTest < ActiveSupport::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
should 'should have versions of the custom class' do
|
||||
should 'have versions of the custom class' do
|
||||
assert_equal "PostVersion", @post.versions.first.class.name
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue