test/unit/model_test.rb in paper_trail-4.0.0.beta1 vs test/unit/model_test.rb in paper_trail-4.0.0.beta2
- old
+ new
@@ -798,11 +798,11 @@
should 'store dynamic meta data based on a method of the item' do
assert_equal @article.action_data_provider_method, @article.versions.last.action
end
- should 'store dynamic meta data based on an attribute of the item prior to creation' do
- assert_equal nil, @article.versions.last.title
+ should 'store dynamic meta data based on an attribute of the item at creation' do
+ assert_equal @initial_title, @article.versions.last.title
end
context 'and updated' do
setup do
\ No newline at end of file