Skip to content

Commit

Permalink
Update person_test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
scotthillson committed Oct 2, 2024
1 parent 2c59ebe commit c5b7fb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/models/person_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require "test_helper"

# :stopdoc:
class PersonTest < ActiveSupport::TestCase
class PersonTest < ActiveSupport::TestCase # rubocop:disable Metrics/ClassLength
test "save" do
assert_not Person.exists?(last_name: "Hampsten"), "Hampsten should not be in DB"
assert_not Team.exists?(name: "7-11"), "7-11 should not be in DB"
Expand Down Expand Up @@ -314,7 +314,7 @@ class PersonTest < ActiveSupport::TestCase
assert_equal "Dario", Person.new(name: "Dario").name_or_login
end

test "member" do
test "member" do #rubocop:disable Metrics/BlockLength
person = Person.new(first_name: "Dario", last_name: "Frederick")
assert_equal(false, person.member?, "member")
assert_nil(person.member_from, "Member from")
Expand Down

0 comments on commit c5b7fb5

Please sign in to comment.