[SCM] vim-addon-manager packaging branch, master, updated. v0.4.4-52-geef7258
Antonio Terceiro
terceiro at debian.org
Tue Jan 31 23:33:45 UTC 2012
The following commit has been merged in the master branch:
commit 9d012e058621b8200d364b22359bc8c0808a6417
Author: Antonio Terceiro <terceiro at debian.org>
Date: Mon Jan 23 14:46:29 2012 -0200
Test that the symlink actually points to the right place
Pointing the symlink at any random path did not make any test fail.
diff --git a/spec/vim/addon_manager/addon/directory_spec.rb b/spec/vim/addon_manager/addon/directory_spec.rb
index d4fdf64..3daa310 100644
--- a/spec/vim/addon_manager/addon/directory_spec.rb
+++ b/spec/vim/addon_manager/addon/directory_spec.rb
@@ -36,6 +36,10 @@ describe Vim::AddonManager::Addon::Directory do
Dir.glob(File.join(target_dir.path, 'bundle', 'newstyle')).should_not be_empty
end
+ it 'points to the source directory' do
+ File.readlink(File.join(target_dir.path, 'bundle', 'newstyle')).should == @addon.send(:source)
+ end
+
it 'reports status as :installed' do
@addon.status(target_dir).status.should == :installed
end
--
vim-addon-manager packaging
More information about the pkg-vim-maintainers
mailing list