Displaying 4 results from an estimated 4 matches for "do_sav".
Did you mean:
do_save
2009 Nov 10
4
Model spec for file upload with paperclip and fastercsv
...ot;)
import.save
end
describe "handling CSV files" do
describe "to import products" do
before(:each) do
@import = Factory.build(:import)
@import.csv.stub!(:url).and_return("#{RAILS_ROOT}/spec/csv/3_products.csv")
end
def do_save
@import.save
end
it "should process the csv file after save" do
@import.should_receive(:process_csv)
do_save
end
it "should load the csv file" do
FasterCSV.should_receive(:foreach)
do_save
end
end
e...
1999 Jan 27
0
load() patch
...d{file}
diff -r --unified R-0.63.2.orig/src/main/names.c R-0.63.2/src/main/names.c
--- R-0.63.2.orig/src/main/names.c Wed Nov 25 09:51:49 1998
+++ R-0.63.2/src/main/names.c Tue Jan 26 16:15:07 1999
@@ -472,7 +472,7 @@
#endif
{"parse", do_parse, 0, 11, 4, PP_FUNCALL},
{"save", do_save, 0, 111, 3, PP_FUNCALL},
-{"load", do_load, 0, 111, 1, PP_FUNCALL},
+{"load", do_load, 0, 111, 2, PP_FUNCALL},
{"hdf5save", do_hdf5save, 0, 0, -1, PP_FUNCALL},
{"hdf5load", do_hdf5load, 0, 11, 2, PP_FUNCALL},
{"deparse", do_deparse, 0, 11, 2, P...
2000 Jan 29
1
HDF5 as a module
...======
RCS file: /home/rcvs/src/R/src/main/names.c,v
retrieving revision 1.119
diff -c -r1.119 names.c
*** src/main/names.c 2000/01/27 05:41:22 1.119
--- src/main/names.c 2000/01/29 00:23:18
***************
*** 515,522 ****
{"parse", do_parse, 0, 11, 4, PP_FUNCALL},
{"save", do_save, 0, 111, 4, PP_FUNCALL},
{"load", do_load, 0, 111, 2, PP_FUNCALL},
- {"hdf5save", do_hdf5save, 0, 0, -1, PP_FUNCALL},
- {"hdf5load", do_hdf5load, 0, 11, 2, PP_FUNCALL},
{"deparse", do_deparse, 0, 11, 2, PP_FUNCALL},
{"dput", do_dput, 0, 111,...
2010 Oct 19
14
client won't use remote file bucket
Hi all,
I''m having a stupid moment getting a remote file bucket working. My
client only file buckets locally, not remotely.
I have this site.pp:
*********
filebucket { "main": server => "puppet" }
File { backup => "main" }
node ''default'' {
include test
}
*********
and this test module:
*********
class test {
file {