spec/configurators/ruby_configurator_spec.rb in rconf-0.7.3 vs spec/configurators/ruby_configurator_spec.rb in rconf-0.7.4
- old
+ new
@@ -104,22 +104,20 @@
it 'should install rvm hook after path is set' do
flexmock(IO).should_receive(:read).and_return(<<-EOS
echo 'zobi la mouche'
radio killed the radio star
-#PATH=something
-PATH=$PATH:should be fine
+#PATH=something:should be fine
this should not:
PATH=something
AFTER
EOS
)
@configurator.__send__(:setup_bashrc)
@bashrc_content.should == <<-EOS
echo 'zobi la mouche'
radio killed the radio star
-#PATH=something
-PATH=$PATH:should be fine
+#PATH=something:should be fine
this should not:
PATH=something
#{@rvm_bash_activation}
AFTER
EOS