Skip to content

Commit d044b1b

Browse files
committed
refactor: update topic create system spec #195
1 parent 0fb0c7e commit d044b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/requests/topics/create_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
let(:provider) { create(:provider) }
77
let(:language) { create(:language) }
88
let(:topic_params) do
9-
attributes_for(:topic, provider_id: provider.id, language_id: language.id).tap do |params|
9+
attributes_for(:topic, title: "topic title", provider_id: provider.id, language_id: language.id).tap do |params|
1010
params[:published_at_year] = params[:published_at].year
1111
params[:published_at_month] = params[:published_at].month
1212
params[:published_at] = nil

0 commit comments

Comments
 (0)