repository_settings_controller_spec.rb revision 23305f217b86a2ebf90a848af9036908e0070542
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