From 42c9d2bee468730f2af02d03b15cbbf36a44bfa8 Mon Sep 17 00:00:00 2001 From: Jan Fornoff Date: Fri, 29 Sep 2017 14:26:46 +0200 Subject: [PATCH] Fix link in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54fe809c..ea00610a 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ mix espec spec/some_spec.exs --string 'context with tag' ## `before` and `finally` `before` blocks are evaluated before the example and `finally` runs after the example. -The blocks can return `{:shared, key: value, ...}` or (like in ExUnit) `{:ok, key: value, ...}`, so the keyword list will be saved in the dictionary and can be accessed in other `before` blocks, in the example, and in `finally` blocks through [`shared`](#shared). +The blocks can return `{:shared, key: value, ...}` or (like in ExUnit) `{:ok, key: value, ...}`, so the keyword list will be saved in the dictionary and can be accessed in other `before` blocks, in the example, and in `finally` blocks through [`shared`](#shared-data). You can also use a map as a second term in returned tuple: `{:shared, %{key: value, ...}}`. Example: