Skip to content

Commit a07f4a4

Browse files
authored
bump deps to test CI (#2286)
* bump deps to test CI * standardrb * try using different test format
1 parent 4eedca0 commit a07f4a4

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
ruby-version: 3.4
149149
bundler-cache: true
150150
- name: Download coverage results
151-
uses: actions/download-artifact@v4.2.1
151+
uses: actions/download-artifact@v4.3.0
152152
- name: Collate simplecov
153153
run: |
154154
bundle exec rake coverage:report

Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ GEM
112112
xpath (~> 3.2)
113113
coderay (1.1.3)
114114
concurrent-ruby (1.3.5)
115-
connection_pool (2.5.2)
115+
connection_pool (2.5.3)
116116
crass (1.0.6)
117117
cuprite (0.15.1)
118118
capybara (~> 3.0)
@@ -153,7 +153,7 @@ GEM
153153
jbuilder (2.13.0)
154154
actionview (>= 5.0.0)
155155
activesupport (>= 5.0.0)
156-
json (2.10.2)
156+
json (2.11.3)
157157
language_server-protocol (3.17.0.4)
158158
lint_roller (1.1.0)
159159
logger (1.7.0)
@@ -175,7 +175,7 @@ GEM
175175
mini_portile2 (2.8.8)
176176
minitest (5.25.5)
177177
mutex_m (0.3.0)
178-
net-imap (0.5.7)
178+
net-imap (0.5.8)
179179
date
180180
net-protocol
181181
net-pop (0.1.2)
@@ -273,7 +273,7 @@ GEM
273273
rspec-mocks (~> 3.10)
274274
rspec-support (~> 3.10)
275275
rspec-support (3.13.2)
276-
rubocop (1.75.3)
276+
rubocop (1.75.4)
277277
json (~> 2.3)
278278
language_server-protocol (~> 3.17.0.2)
279279
lint_roller (~> 1.1.0)

test/sandbox/test/mailer_test.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
require "test_helper"
44

5-
class MailerTest < ViewComponent::TestCase
5+
class MailerTest < ActionMailer::TestCase
66
def test_rendering_component_in_an_action_mailer
7-
assert_includes TestMailer.test_email.deliver_now.body.raw_source, "<div>Hello world!</div>"
7+
result = TestMailer.test_email.deliver_now.body.to_s
8+
assert_includes result, "<div>Hello world!</div>"
9+
assert_includes result, "test_email.html.erb"
810
end
911
end

0 commit comments

Comments
 (0)