Sha256: 811d20b68a1067f4f16965d5296893c3c827fa714b109b118999dd1e8a2db855
Contents?: true
Size: 242 Bytes
Versions: 4
Compression:
Stored size: 242 Bytes
Contents
describe Elevate::Callback do describe "#call" do it "invokes the block using instance_*" do callback = Elevate::Callback.new(self, 42, lambda { |v| @value = v }) callback.call @value.should == 42 end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
elevate-0.3.3 | spec/callback_spec.rb |
elevate-0.3.2 | spec/callback_spec.rb |
elevate-0.3.1 | spec/callback_spec.rb |
elevate-0.3 | spec/callback_spec.rb |