examples/develop.rb in linepipe-0.1.2 vs examples/develop.rb in linepipe-0.2.0
- old
+ new
@@ -8,9 +8,11 @@
%w(foo bar baz)
}
step("Upcasing") { |data|
data.map(&:upcase)
+ }.expect('is upcased') { |data|
+ data.first.upcase == data.first
}
step("Reversing") { |data|
data.reverse
}