search for: network_segment

Displaying 1 result from an estimated 1 matches for "network_segment".

2006 Mar 30
2
Functional test confusion
I have been reading about testing in RoR for what seems like hours now in search of the answer to what is probably a simple problem. Where is the best place to test the second action explained below? I have a controller (NetworkingController) with a method (create_network_segment) that makes use of two models (NetworkSegment and NetworkIpaddress). This particular method does two actions: 1. Create a new NetworkSegment from the submitted form data 2. Create one NetworkIpaddress for each value of a range class NetworkingController < ApplicationController def create_ne...