Skip to content

Commit f995630

Browse files
committed
Improve a couple specs
1 parent 9f0998f commit f995630

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spec/interro_spec.cr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ describe Interro do
815815
UserQuery.new.with_id(user.id).first?.should eq nil
816816
GroupQuery.new.with_id(group.id).first?.should eq nil
817817
else
818-
raise "One of these are nil and should not be: #{{user: user, group: group}}"
818+
raise "One of these are not nil and both should be nil: #{{user: user, group: group}}"
819819
end
820820
end
821821

@@ -828,6 +828,7 @@ describe Interro do
828828
gq = GroupQuery[txn]
829829

830830
gq.change_name(group, "The Same Group")
831+
GroupQuery.new.with_id(group.id).first.name.should eq "The Group"
831832
gq.with_id(group.id).first.name.should eq "The Same Group"
832833
end
833834
end

0 commit comments

Comments
 (0)