> > 203 > 204 map.should_receive(:add_marker).with mock_property1.address, > mock_property1.latitude, mock_property1.longitude, marker1_contents > 205 map.should_receive(:add_marker).with mock_property2.address, > mock_property2.latitude, mock_property2.longitude, marker2_contents >
It looks like this is copying certain property properties to the map. Would it be better for the map to simply hold a reference to the property? ///ark
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users