Skip to content

Commit

Permalink
Fix Rubocop style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aedificator-nl authored and vfonic committed Jun 5, 2024
1 parent 3573ab2 commit faf983a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/jobs/webflow_sync/initial_sync_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@
instance_double(Webflow::Client, collections: [])
end

it 'raises an error when it cannot find a webflow collection' do
before(:each) do
WebflowSync.configuration.skip_webflow_sync = true
create(:article)
WebflowSync.configuration.skip_webflow_sync = false
end

it 'raises an error when it cannot find a webflow collection' do
error_message = "Cannot find collection articles for Webflow site #{ENV.fetch('WEBFLOW_SITE_ID')}"

expect do
Expand Down

0 comments on commit faf983a

Please sign in to comment.