Sha256: a7b9342297a1793fdb763cf7224f1d7e9db4ed4b186b52dd9ceb4a8bacf88303
Contents?: true
Size: 238 Bytes
Versions: 3
Compression:
Stored size: 238 Bytes
Contents
require 'spec_helper' describe Dependor::Let do class SampleClassUsingLet extend Dependor::Let let(:foo) { "foo foo" } end it 'shortens method declaration' do SampleClassUsingLet.new.foo.should == "foo foo" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dependor-1.0.1 | spec/dependor/let_spec.rb |
dependor-1.0.0 | spec/dependor/let_spec.rb |
dependor-0.0.6 | spec/dependor/let_spec.rb |