producer-core/spec/support/tests_helpers.rb
Thibault Jouan ef0307fbb5 Improve small details in specs:
* Fix coding standards;
* Simplify some expectations (eq instead of be matcher);
* Expect identity on block instead of calling;
* Change some before call as oneliners;
* Avoid shadowing variable names;
* Improve wording where needed.
2013-12-19 22:46:56 +00:00

10 lines
128 B
Ruby

module TestsHelpers
def test_ok
double 'test', pass?: true
end
def test_ko
double 'test', pass?: false
end
end