spec/support/write_expectation.rb in qbrick-2.5.0.pre vs spec/support/write_expectation.rb in qbrick-2.5.0
- old
+ new
@@ -15,14 +15,14 @@
description do
"write \"#{message}\" #{io_name}"
end
- failure_message_for_should do
+ failure_message do
"expected to #{description}"
end
- failure_message_for_should_not do
+ failure_message_when_negated do
"expected to not #{description}"
end
# Fake STDERR and return a string written to it.
def fake_stderr