diff --git a/User/User Info.bru b/User/User Info.bru index c2456dd..e62d7d7 100644 --- a/User/User Info.bru +++ b/User/User Info.bru @@ -11,6 +11,6 @@ get { tests { test("status must be 200", function() { - expect(res.status).to.eql(201); + expect(res.status).to.eql(200); }); } diff --git a/readme.md b/readme.md index 1179dbc..f1a9e22 100644 --- a/readme.md +++ b/readme.md @@ -2,9 +2,15 @@ ### Usage ```bash -# Clone this repo +# Clone this repo git clone https://github.com/usebruno/github-rest-api-collection.git -# open the folder in bruno +# open the folder in bruno and select the "Github" environment # enjoy !! -``` \ No newline at end of file +``` + +### Run via CLI +Specify the environment with the `--env` flag: +```bash +bru run --env Github +```