Closed zw963 closed 6 years ago
Current Rails 5.0.2.
shoulda version:
╰─ $ cat Gemfile.lock |grep shoulda
shoulda (3.5.0)
shoulda-context (~> 1.0, >= 1.0.1)
shoulda-matchers (>= 1.4.1, < 3.0)
shoulda-context (1.2.2)
shoulda-matchers (2.8.0)
shoulda
shoulda-matchers
Seem like if number aligned or within a should
block is worked!
But, if number aligned with a `context', it not worked.
For future readers, this issue was fixed in shoulda-context v1.2.2, via https://github.com/thoughtbot/shoulda-context/pull/51
Current no condition to test this, anyway, thanks.
Rails add new function which can run test included the line number.
But this not worked if use like following:
Rails 5.0.0
shoulda (~> 3.5) shoulda-matchers (~> 2.0)
bundle config: