We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f0998f commit f995630Copy full SHA for f995630
1 file changed
spec/interro_spec.cr
@@ -815,7 +815,7 @@ describe Interro do
815
UserQuery.new.with_id(user.id).first?.should eq nil
816
GroupQuery.new.with_id(group.id).first?.should eq nil
817
else
818
- raise "One of these are nil and should not be: #{{user: user, group: group}}"
+ raise "One of these are not nil and both should be nil: #{{user: user, group: group}}"
819
end
820
821
@@ -828,6 +828,7 @@ describe Interro do
828
gq = GroupQuery[txn]
829
830
gq.change_name(group, "The Same Group")
831
+ GroupQuery.new.with_id(group.id).first.name.should eq "The Group"
832
gq.with_id(group.id).first.name.should eq "The Same Group"
833
834
0 commit comments