Cross Reference:
xref
: /
ontohub
/
spec
/
models
/
repository
/
symlink_spec.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
symlink_spec.rb revision db149239590d2a39d399f12cd01609b190ea4763
require
'spec_helper'
describe
Repository
::
Symlink
do
describe
'repository created'
do
let
(:
repository
)
{
create
:
repository
}
let
(:
link
)
{
File.readlink
(
repository.symlink
_name
)
}
it
(
"symlink created"
)
{
link.should
==
repository.local_path.to
_s
}
describe
'repository destroy'
do
before
{
repository.destroy
}
it
(
"symlink removed"
)
{
repository.symlink_name.exist
?.
should
be
(
false
)
}
end
end
end