spec/git_spec.rb in capistrano_recipes-1.0.1 vs spec/git_spec.rb in capistrano_recipes-1.0.2

- old
+ new

@@ -33,16 +33,16 @@ end describe 'deploy:update' do it 'updates' do cli_execute 'deploy:update' - config.should have_run('cd /foo/bar && git fetch origin && git reset --hard origin/master') + config.should have_run('cd /foo/bar/current && git fetch origin && git reset --hard origin/master') end end end it 'has current revision' do - config.should_receive(:capture).with('cd /foo/bar && git rev-parse --short HEAD') { "baz\n" } + config.should_receive(:capture).with('cd /foo/bar/current && git rev-parse --short HEAD') { "baz\n" } config.current_revision.should == 'baz' end it 'shows pending' do config.should_receive(:current_revision) { 'baz' } \ No newline at end of file