Sha256: 4479704d5fc31cbf6347211d05a3f507d6a6f4743c7288c04562978ecf2aa702
Contents?: true
Size: 386 Bytes
Versions: 31
Compression:
Stored size: 386 Bytes
Contents
require 'teststrap' context "A setup block" do setup do Riot::Setup.new { "fooberries" } end asserts("topic is set for situation when run") do situation = Riot::Situation.new topic.run(situation) situation.topic == "fooberries" end asserts(":setup is returned from calling run") do topic.run(Riot::Situation.new) == [:setup] end end # A setup block
Version data entries
31 entries across 31 versions & 1 rubygems