Sha256: 928454010575ff37a9ba8e8ba3f381605868dfd4693c2fa8794a6fddea885d78
Contents?: true
Size: 297 Bytes
Versions: 9
Compression:
Stored size: 297 Bytes
Contents
require 'teststrap' context "A context with a helper" do setup { "foo" } helper(:upcase) { topic.upcase } helper(:append) {|str| topic + str } asserts("executing the helper") { upcase }.equals("FOO") asserts("calling a helper with an argument") { append("bar") }.equals("foobar") end
Version data entries
9 entries across 9 versions & 1 rubygems