Skip to content

Commit

Permalink
Use consistent style [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 24, 2024
1 parent 65691d2 commit 7540cc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/model_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ def test_attributes_not_loaded
skip if mongoid?

User.create!(email: "[email protected]")
user = User.select('id').last
assert_nil user.attributes['email']
user = User.select("id").last
assert_nil user.attributes["email"]
assert !user.has_attribute?("name")
assert !user.has_attribute?(:name)

Expand Down

0 comments on commit 7540cc9

Please sign in to comment.