Skip to content

Commit

Permalink
Fix lessons spec error
Browse files Browse the repository at this point in the history
  • Loading branch information
wioux committed Oct 19, 2017
1 parent 71d6513 commit 340619d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/factories/topic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

after(:create) do |topic|
FactoryGirl.create(:lesson, topic_id: topic.id)
topic.lessons.reload
end

published_at Time.now
Expand Down

0 comments on commit 340619d

Please sign in to comment.