1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/spec/support
Georgy Angelov f24985c23c Add rspec matchers for Maybe and (Strict)?Equals
`expect(a).to eq_just b` <=> `a.IsJust && a.FromJust == b`
`expect(a).to be_successful` <=> `a.IsJust && a.FromJust`
`expect(a).to strict_eq b` <=> if a is Maybe: `a.IsJust && a.FromJust.StrictEquals(b)`; else `a.StrictEquals(b)`
`expect(a).to v8_eq b` <=> same as above but for `Equals` instead of `StrictEquals`
2015-08-01 20:21:36 +00:00
..
context.rb Add rspec matchers for Maybe and (Strict)?Equals 2015-08-01 20:21:36 +00:00
v8_matchers.rb Add rspec matchers for Maybe and (Strict)?Equals 2015-08-01 20:21:36 +00:00