Open zealot128 opened 10 years ago
+1, @zealot128 thanks for sharing this workaround - it's a lifesaver. For anyone who stumbles on this, it looks like a fix is in the works: https://github.com/sconover/wrong/pull/42 and will be merged in as soon as the maintainer has time.
Using Rails 4.1 (maybe also 4.0) and Rspec-rails 2.99, the
assert
method does not work.I used this fix:
in addition to the RAILS::VERSION::MAJOR == 3 part in https://github.com/sconover/wrong/blob/master/lib/wrong/adapters/rspec.rb#L7
Just changing the == 3 to >=3 did not work because:
This is, why I used the alias method chain.