diff --git a/spec/models/article_version_spec.rb b/spec/models/article_version_spec.rb index 6a9f302e..e08fb460 100644 --- a/spec/models/article_version_spec.rb +++ b/spec/models/article_version_spec.rb @@ -38,7 +38,7 @@ new_attributes.each do |key, value| expect(article.latest_article_version[key]).to eq value - expect(order.order_articles.first.article_version[key]).to eq original_version[key] + expect(order.order_articles.first.article_version[key]).to eq(original_version[key]), "#{key} property changed: Old {#{original_version[key]}} <-> Current {#{order.order_articles.first.article_version[key]}}" end expect(original_version_id).not_to eq article.latest_article_version.id end