Skip to content

Commit

Permalink
Remove commented expects
Browse files Browse the repository at this point in the history
Expect was too granular and specific
  • Loading branch information
jesusbv authored and ngetahun committed Nov 5, 2024
1 parent 7d84d7a commit c9b6ed7
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@
body: { error: 'Unexpected instance verification error has occurred' }.to_json,
headers: {}
)
# expect(InstanceVerification::Providers::Example).to receive(:new)
# .with(be_a(ActiveSupport::Logger), be_a(ActionDispatch::Request), payload, instance_data).and_return(plugin_double)
# expect(plugin_double).to receive(:instance_valid?).and_return(false)
post url, params: payload, headers: headers
end

Expand All @@ -99,9 +96,6 @@
headers: {}
)

# expect(InstanceVerification::Providers::Example).to receive(:new)
# .with(be_a(ActiveSupport::Logger), be_a(ActionDispatch::Request), payload, instance_data).and_return(plugin_double)
# expect(plugin_double).to receive(:instance_valid?).and_raise('Custom plugin error')
post url, params: payload, headers: headers
end

Expand Down

0 comments on commit c9b6ed7

Please sign in to comment.