Skip to content

Commit

Permalink
fix: spec type
Browse files Browse the repository at this point in the history
  • Loading branch information
caspiano committed Mar 8, 2022
1 parent dd0226c commit 7e5de6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/queries_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ describe RethinkORM::Queries do
tree1 = Tree.new
tree2 = Tree.new

roots = Array(Root).new(3) do
Root.create!(length: (rand * 10).to_f32)
roots = Array(String).new(3) do
Root.create!(length: (rand * 10).to_f32).id.not_nil!
end

# Check all roots created
Expand Down

0 comments on commit 7e5de6c

Please sign in to comment.