HomePhorge

(maint) Actually test expected rights behavior
aaf70f85e57aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Actually test expected rights behavior

A number of tests were spuriously passing because we were doing a blind
check for truthiness, and expect(:dunno).to be_true will pass. In
addition we were checking a negative test that could never fail because
we were passing unmatchable arguments. This commit corrects the tests to
verify the correct behavior.

Details

Provenance
Adrien Thebo <git@somethingsinistral.net>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUcc8ee613cfb0: (PUP-2560) Convert acceptance test for #7117 to unit test
Branches
Unknown
Tags
Unknown

Event Timeline

Adrien Thebo <git@somethingsinistral.net> committed rPUaaf70f85e57a: (maint) Actually test expected rights behavior (authored by Adrien Thebo <git@somethingsinistral.net>).Sep 17 2014, 1:08 AM