Sha256: 10c64042107e52aaa94ffdbf5be86677ae1012332e156b2055fc5c23c8dddced
Contents?: true
Size: 315 Bytes
Versions: 14
Compression:
Stored size: 315 Bytes
Contents
require 'spec_helper' module WLang describe Dialect, 'with_scope' do let(:struct){ Struct.new(:who) } it 'returns the block value' do got = Dialect.new.with_scope({:who => "World"}) do 12 end got.should eq(12) end end # describe Dialect, 'with_scope' end # module WLang
Version data entries
14 entries across 14 versions & 1 rubygems