Skip to content

Commit

Permalink
Merge branch 'main' into test_more
Browse files Browse the repository at this point in the history
  • Loading branch information
koppen authored May 31, 2024
2 parents d5c9174 + 74872fc commit 5c305ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require "minitest_helper"

class EmailAddressValidTest < MiniTest::Test
class EmailAddressValidTest < Minitest::Test
def test_accepts_common_email_address_format
accept("bob@example.com")
end
Expand Down Expand Up @@ -153,7 +153,7 @@ def reject(email_address)
end
end

class EmailAddressTest < MiniTest::Test
class EmailAddressTest < Minitest::Test
def test_to_s_uses_address
email_address = ActiveModelEmailAddressValidator::EmailAddress.new(
"bob@example.com"
Expand Down
2 changes: 1 addition & 1 deletion test/test_active_model_integration.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "minitest_helper"
require "active_model"

class EmailAddressValidatorTest < MiniTest::Test
class EmailAddressValidatorTest < Minitest::Test
def setup
@subject = build_model_with_validations
end
Expand Down

0 comments on commit 5c305ed

Please sign in to comment.