From b7d3648256b1db21f1c0f8418a031e02c6004001 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Wed, 2 Jan 2019 11:00:38 -0700 Subject: [PATCH] Clarify that `#let` can use expressions --- src/spectator/dsl/structure_dsl.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spectator/dsl/structure_dsl.cr b/src/spectator/dsl/structure_dsl.cr index c06150b..d771f66 100644 --- a/src/spectator/dsl/structure_dsl.cr +++ b/src/spectator/dsl/structure_dsl.cr @@ -472,7 +472,7 @@ module Spectator::DSL let(:subject) {{block}} end - # Defines a value by name. + # Defines an expression by name. # The name can be used in examples to retrieve the value (basically a method). # This can be used to define a value once and reuse it in multiple examples. # @@ -554,7 +554,7 @@ module Spectator::DSL end # The noisier sibling to `#let`. - # Defines a value by giving it a name. + # Defines an expression by giving it a name. # The name can be used in examples to retrieve the value (basically a method). # This can be used to define a value once and reuse it in multiple examples. #