Sha256: 74f7c447964c04fa8d4c10a6497b296c229d7851a6a3356557569e33d6e77440
Contents?: true
Size: 519 Bytes
Versions: 1
Compression:
Stored size: 519 Bytes
Contents
require 'spec_helper' describe Convert do before :each do @convert = Convert.new('1.2.3', 'Berksfile.stub') end describe '#new' do it 'takes two parameters and returns a Convert object' do @convert.should be_an_instance_of Convert end end describe '#initialize' do it 'returns the correct branch name' do @convert.branch.should eql '1.2.3' end it 'returns the correct berkshelf lockfile' do @convert.berkslockfile.should eql 'Berksfile.stub' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
berks2env-0.3.1 | spec/berks2env_spec.rb |