Commit 067f66a95bb10e1895b4b2c90438a8af15619661
1 parent
3c168675
Exists in
master
and in
28 other branches
Fixing article author test
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/unit/article_test.rb
... | ... | @@ -1371,6 +1371,7 @@ class ArticleTest < ActiveSupport::TestCase |
1371 | 1371 | a = profile.articles.create!(:name => 'a test article', :last_changed_by => author) |
1372 | 1372 | assert_equal author.name, a.author_name |
1373 | 1373 | author.destroy |
1374 | + a.reload | |
1374 | 1375 | a.author_name = 'some name' |
1375 | 1376 | assert_equal 'some name', a.author_name |
1376 | 1377 | end | ... | ... |