Skip to content

Commit

Permalink
テスト用メソッドを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
SatoshiHaramura committed Aug 12, 2022
1 parent 26a5b5b commit 4eba9a8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/application_system_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,14 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
teardown do
ActionMailer::Base.deliveries.clear
end

def vcr_options
{
record: :once,
match_requests_on: [
:method,
VCR.request_matchers.uri_without_param(:source)
]
}
end
end

0 comments on commit 4eba9a8

Please sign in to comment.