1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/spec
Georgy Angelov 654b808ac5 Use #around for creation of context for C examples
This fixes segmentation fault in the tests as extending the examples in a before block with override of `#instance_eval` seems to not work.

Also, the context wrap is now opt-in with a helper method, instead of opt-out and relying on `#described_class` (which has slightly different behavior in RSpec 3).

Tested on Ruby 2.1.5 and RSpec 2.99.2.
2015-03-15 18:27:19 +00:00
..
c Use #around for creation of context for C examples 2015-03-15 18:27:19 +00:00
mem don't run memspecs as part of CI build. 2012-06-15 10:22:51 -05:00
v8 fix threading specs on rubinius 2014-01-02 17:27:37 +02:00
redjs_spec.rb implement exception handling. 2012-06-14 22:34:38 -05:00
spec_helper.rb Use #around for creation of context for C examples 2015-03-15 18:27:19 +00:00
threading_spec.rb Added support for context timeouts 2013-12-09 12:15:03 +11:00