Cross Reference:
xref
: /
ontohub
/
spec
/
models
/
repository
/
symlink_spec.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
symlink_spec.rb revision a127ac00810f4676c3a5b746af0dda26e5fc7ed7
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
}
describe
'repository destroy'
do
before
{
repository.destroy
}
it
(
"symlink removed"
)
{
repository.symlink_name.exist
?.
should
be_false
}
end
end
end