Sha256: 7762f0d0f479f9a0eedf4b8c4dfc27b07295668b9c6339ed87af18f5cf0169ff
Contents?: true
Size: 609 Bytes
Versions: 15
Compression:
Stored size: 609 Bytes
Contents
riml_include 'dsl.riml' class BeforeHookSpec defm describe return 'Before hooks' end defm before self.stuff = 'foo' end defm it_has_stuff_from_before expect(self.stuff).to_equal('foo') end defm it_still_has_stuff_from_before expect(self.stuff).to_equal('foo') end end class BeforeEachHookSpec defm describe return 'Before_each hooks' end defm before_each self.stuff = 'foo' end defm it_has_stuff_from_before_each expect(self.stuff).to_equal('foo') end defm it_still_has_stuff_from_before_each expect(self.stuff).to_equal('foo') end end
Version data entries
15 entries across 15 versions & 1 rubygems