Sha256: 056482bdcba13d1b0e4c7de4cb93b86d58cf6ebb2139aab571b2efa3be656abb
Contents?: true
Size: 386 Bytes
Versions: 8
Compression:
Stored size: 386 Bytes
Contents
require_relative '_lib' class Critic::Functional::DelayedTest < Critic::Functional::Test before do @kernel = Configatron::RootStore.new end describe 'delayed' do before do @kernel.a = Configatron::Delayed.new { @kernel.b } @kernel.b = "expected" end it 'works independent of the order' do assert_equal('expected', @kernel.a) end end end
Version data entries
8 entries across 8 versions & 1 rubygems