spec/baldwin/paths_spec.rb in baldwin-0.2.2 vs spec/baldwin/paths_spec.rb in baldwin-0.2.3
- old
+ new
@@ -19,10 +19,10 @@
end
describe '#rails' do
subject { Baldwin.rails }
it { should be_a( Pathname ) }
- its( :to_s ){ should eq( ENV[ 'BALDWIN_RAILS_PATH' ] ) }
+ its( :to_s ){ should eq( File.join( Dir.pwd, ENV[ 'BALDWIN_RAILS_PATH' ] ) ) }
end
describe '#apps' do
subject { Baldwin.apps }
it { should be_an( Array ) }