diff --git a/api/vibe-json.md b/api/vibe-json.md index 3521f63..b885c3d 100644 --- a/api/vibe-json.md +++ b/api/vibe-json.md @@ -7,7 +7,7 @@ Theese are some utilities that helps you to write easier asserts for the [Json]( ## Setup 1. Include the vibe assert package package: `fluent-asserts-vibe` -2. Import the module: `import fluent.asserts.vibe.json` or `import fluent.asserts.vibe` +2. Import the module: `import fluentasserts.vibe.json` or `import fluent.asserts` ## Summary diff --git a/api/vibe-requests.md b/api/vibe-requests.md index d591bef..8ea4695 100644 --- a/api/vibe-requests.md +++ b/api/vibe-requests.md @@ -7,7 +7,7 @@ Mocking HTTP requests are usefull for api tests. This module allows you to mock ## Setup 1. Include the vibe assert package package: `fluent-asserts-vibe` -2. Import the module: `import fluent.asserts.vibe.request` or `import fluent.asserts.vibe` +2. Import the module: `import fluentasserts.vibe.request` or `import fluent.asserts` ## Summary diff --git a/dub.json b/dub.json index 3a23939..2201291 100644 --- a/dub.json +++ b/dub.json @@ -13,6 +13,10 @@ "unit-threaded": { "version": "*", "optional": true + }, + "fluent-asserts-vibe": { + "version": "*", + "optional": true } }, "configurations": [ diff --git a/source/fluent/asserts.d b/source/fluent/asserts.d index a24668e..9802cc1 100644 --- a/source/fluent/asserts.d +++ b/source/fluent/asserts.d @@ -1,3 +1,8 @@ module fluent.asserts; public import fluentasserts.core.base; + +version(Have_fluent_asserts_vibe) { + public import fluentasserts.vibe.json; + public import fluentasserts.vibe.request; +} \ No newline at end of file