Merge branch 'let-assignment-variant' into 'release/0.8'

Change wording around let variant

See merge request arctic-fox/spectator!12
This commit is contained in:
Mike Miller 2019-07-19 23:11:42 +00:00
commit 95f730965c
1 changed files with 1 additions and 2 deletions

View File

@ -813,14 +813,13 @@ module Spectator::DSL
# let(lazy_time) { Time.utc }
#
# it "lazy evaluates" do
# now = current_time
# sleep 5
# expect(lazy_time).to_not eq(now)
# end
# ```
#
# However, the value is not reused across tests.
# It will be reconstructed when the next test starts.
# Each test will have its own copy.
#
# ```
# let array = [0, 1, 2]