require 'spec_helper'
describe "url_map" do
let!(:repository){ create :repository }
it { should respond_with :success }
it { should render_template :index }
end
before { get :new, repository_id: repository.to_param }
it { should respond_with :success }
end
it { should respond_with :success }
end
it { should respond_with :success }
end
it { should respond_with :found }
end
it { should respond_with :found }
end
end
before { get :new, repository_id: repository.to_param }
it { should respond_with :found }
end
it { should respond_with :found }
end
it { should respond_with :found }
end
it { should respond_with :found }
end
it { should respond_with :found }
end
end
end
end