psyho / bogus

Fake library for Ruby
Other
359 stars 14 forks source link

Weird stub behaviour on RBX and JRuby #45

Closed mostlyobvious closed 9 years ago

mostlyobvious commented 10 years ago

I've noticed that stubs behave differenty on Rubinius and JRuby than on MRI. Have a look on following example: https://gist.github.com/pawelpacana/6973039

I've observed this behaviour first on https://github.com/pawelpacana/citrus-core/blob/master/spec/citrus/core/test_runner_spec.rb#L24

psyho commented 9 years ago

I included the test case for this bug in our test suite. As far as I can tell, in the latest release (0.1.6) this should be fixed.