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 committed Jun 3, 2024
1 parent dff24d7 commit 9820488
Show file tree
Hide file tree
Showing 6 changed files with 238 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

209 changes: 209 additions & 0 deletions .idea/webflow_sync.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 9820488

Please sign in to comment.