Cross Reference: repository_settings_controller_spec.rb
xref
: /
ontohub
/
spec
/
controllers
/
repository_settings_controller_spec.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
require
'spec_helper'
describe
RepositorySettingsController
do
context
'#index'
do
# Redirecting in SettingsControler to url Maps because SettingsController
# is only a meta controller
let
(:
repository
)
{
create
:
repository
}
before
{
get
:
index
,
repository_id
:
repository.to
_param
}
it
'should redirect to url_maps index'
do
response.should
redirect_to
[
repository
, :
url_maps
]
end
end
end