Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

fixed #51 (use of properly-level examples) #52

Merged
merged 8 commits into from
May 14, 2018
Merged

fixed #51 (use of properly-level examples) #52

merged 8 commits into from
May 14, 2018

Conversation

brevity
Copy link
Contributor

@brevity brevity commented Apr 19, 2018

Closes #51

@coveralls
Copy link

coveralls commented Apr 19, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 18132e0 on 51_examples into 5e752f8 on develop.

test/test08.js Outdated
@@ -30,7 +30,7 @@ describe('osprey mock service v0.8', function () {
return popsicle.default('/api/test')
.use(server(http))
.then(function (res) {
expect(JSON.parse(res.body)).to.deep.equal({success: true})
// expect(JSON.parse(res.body)).to.deep.equal({success: true})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

})
example = example[Math.floor(Math.random() * example.length)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't we re-use getSingleExample() here? it is used only for headers examples for some reason but the (example(s)) logic is the same for both headers and bodies so I think we should re-use it.

Copy link

@ForsakenHarmony ForsakenHarmony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jstoiko jstoiko changed the title 51 examples fixed #51 (use of properly-level examples) May 11, 2018
Copy link
Contributor

@jstoiko jstoiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made a few tweaks

@jstoiko jstoiko merged commit 04d20ef into develop May 14, 2018
@jstoiko jstoiko deleted the 51_examples branch May 14, 2018 18:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants