search for: testhelp

Displaying 15 results from an estimated 15 matches for "testhelp".

2005 Nov 06
1
mixins not reloaded as expected?!
Hi guys, in development mode a module mixed into a helper class seems not to be reloaded inside app/helpers: class TestHelper include EvenMoreHelp #foo end module EvenMoreHelp # bar end the contents of #foo get refreshed, but not #bar... is there a way to fix that behaviour. I intend a full reload in development mode for obvious reasons. Regards Peter
2009 Dec 27
1
testhelp/maketree.py is GPLv2
Hi, I have a licensing question: I'm curious if the fact maketree.py is GPLv2 causes any trouble for the rest of rsync (which is GPLv3 or later). -- yours, Julius Davies 250-592-2284 (Home) 250-893-4579 (Mobile) http://juliusdavies.ca/logging.html
2006 May 31
1
SVN revision 218: errors and failures under win32.
...lines in test_handlers.rb:75-76 res = hit([ "http://127.0.0.1:9998/", "http://127.0.0.1:9998/test", I cannot solve the other failures: 1) Failure: test_header_is_too_long(WebServerTest) [./test/test_ws.rb:93:in `test_header_is_too_long'' ./test/testhelp.rb:8:in `redirect_test_io'' ./test/test_ws.rb:91:in `test_header_is_too_long'']: <[Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED]> exception expected but none was thrown. 2) Failure: test_num_processors_overload(WebServerTest) [./test/test_ws.rb:101:in `test...
2011 Dec 05
1
How to extend common helper methods to view specs?
...ec/rails'' require ''webrat'' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} RSpec.configure do |config| config.include Devise::TestHelpers, :type => :controller config.extend ControllerMacros, :type => :view config.extend ControllerMacros, :type => :controller config.before(:suite) do DatabaseCleaner.strategy = :transaction DatabaseCleaner.clean_with(:truncation) end config.before(:each) do Database...
2005 Mar 15
0
[Bug 2455] New: rsync --daemon segfaults if "log file = <file>" dir does not exist
...---- dit(bf(23)) Partial transfer due to error dit(bf(24)) Partial transfer due to vanished source files dit(bf(30)) Timeout in data send/receive + dit(bf(31)) Log file could not be opened for appending enddit() manpagesection(ENVIRONMENT VARIABLES) Common subdirectories: rsync-2.6.3/testhelp and rsync-2.6.3_jdb/testhelp Common subdirectories: rsync-2.6.3/testsuite and rsync-2.6.3_jdb/testsuite Common subdirectories: rsync-2.6.3/zlib and rsync-2.6.3_jdb/zlib -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- Yo...
2002 Mar 19
1
(fwd from uke@jeremy.org) thanks and patch
Jeremy, I'm glad you like rsync. Why does your encryption program not produce a file of the same size every time it is run on the same input? I can see what the patch does, but I'm having a bit of trouble understanding whether it would be generally useful. -- Martin -------------- next part -------------- An embedded message was scrubbed... From: jeremy bornstein
2003 Jun 07
1
patch to rsync to add options for pre- and post-transfer commands
...out. + */ signal(SIGCHLD, SIG_IGN); ! #endif /* we shouldn't have any children left hanging around but I have had reports that on Digital Unix zombies are produced, so this ensures that they are reaped */ Only in rsync-2.5.6: tags Common subdirectories: rsync-2.5.6.orig/testhelp and rsync-2.5.6/testhelp Common subdirectories: rsync-2.5.6.orig/testsuite and rsync-2.5.6/testsuite Common subdirectories: rsync-2.5.6.orig/zlib and rsync-2.5.6/zlib
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when I try and install mongrel with gem it blows up when the fastthread dependency tries to do a native compilation. I couldn''t find a copy of the gemspec in the svn checkout but looking at the one installed when gem installing mongrel didn''t show any platform differentiation. There is platform
2006 Jul 01
0
Fun with Mongrel and cygwin.
...humble little computer, it compiled worked ok (taste like *nix, so I felt a bit off-road running this). Anyway, tried to pass test for mongrel, and still get 1 failure: 1) Failure: test_header_is_too_long(WebServerTest) [./test/test_ws.rb:81:in `test_header_is_too_long'' ./test/testhelp.rb:14:in `redirect_test_io'' ./test/test_ws.rb:79:in `test_header_is_too_long'']: <[Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL]> exception expected but none was thrown. Because cygwin IS windows, the sockets works the same way like mswin32 platfo...
2008 Mar 11
0
Facebooker-talk Digest, Vol 5, Issue 12
...al_app_login fb_login_as :facebooker num_of_members = Member.count facebook_request :get, :home assert_response :success assert_equal num_of_members, Member.count assert_session_user_data_exists end The code is fairly simple: module Facebooker module Rails module TestHelpers # user facebook id for facebook_request def set_user_facebook_id(fb_id) @fb_id = fb_id end # makes a request as if it was from facebook. Need to set_user_facebook_id() first # so it knows whom to send the request as. def facebook_request(http_verb,...
2008 Mar 11
0
Facebook_request in unit tests
...ok_internal_app_login fb_login_as :facebooker num_of_members = Member.count facebook_request :get, :home assert_response :success assert_equal num_of_members, Member.count assert_session_user_data_exists end The code is fairly simple: module Facebooker module Rails module TestHelpers # user facebook id for facebook_request def set_user_facebook_id(fb_id) @fb_id = fb_id end # makes a request as if it was from facebook. Need to set_user_facebook_id() first # so it knows whom to send the request as. def facebook_request(http_verb, action,...
2013 Mar 20
2
Rspec + Devise + BaseController
...quot;when admin is not logged in" do it "redirect admin to sign_in path" do get :index response.should redirect_to new_admin_session_path end end end end ##################################################### I''ve already inclueded Devise::TestHelpers on my spec_helper.rb and I''m getting this error when running this spec: ##################################################### Admins::BaseController before_filter#authenticate_admin! when admin is not logged in redirect admin to sign_in path (FAILED - 1) Failures: 1)...
2011 Apr 15
7
warning: toplevel constant XYZ referenced Admin:XYZ
I have an odd problem. I got controllers in a namespace and controllers outside of the namespace. For example, I have a PagesController and a Admin::PagesController. When I run rspec from the top, tests pass and I get the following warning: spec/controllers/admin/pages_controller_spec.rb:4: warning: toplevel constant PagesController referenced by Admin::PagesController This makes no sense. I do
2002 Nov 11
0
Regular Expression support
...amp;. .IP See the section of exclude patterns in the rsync man page for information on the syntax of this option\&. Only in rsync-2.5.5.mod/: sender.o Only in rsync-2.5.5.mod/: shconfig Only in rsync-2.5.5.mod/: socket.o Only in rsync-2.5.5.mod/: syscall.o Common subdirectories: rsync-2.5.5/testhelp and rsync-2.5.5.mod/testhelp Common subdirectories: rsync-2.5.5/testsuite and rsync-2.5.5.mod/testsuite Only in rsync-2.5.5.mod/: token.o Only in rsync-2.5.5.mod/: uidlist.o Only in rsync-2.5.5.mod/: util.o Common subdirectories: rsync-2.5.5/zlib and rsync-2.5.5.mod/zlib
2007 Sep 22
0
rsync build on IA64 using icc
....conf.yo -rw-r--r-- 1 mccssmb2 mcc101 129131 Nov 7 2006 rsync.yo drwxr-xr-x 2 mccssmb2 mcc101 4096 Nov 7 2006 doc drwxr-xr-x 4 mccssmb2 mcc101 4096 Nov 7 2006 packaging drwxr-xr-x 2 mccssmb2 mcc101 4096 Nov 7 2006 support drwxr-xr-x 2 mccssmb2 mcc101 4096 Nov 7 2006 testhelp drwxr-xr-x 2 mccssmb2 mcc101 4096 Nov 7 2006 testsuite -rwxr-xr-x 1 mccssmb2 mcc101 9362 Nov 4 2006 runtests.sh -rwxr-xr-x 1 mccssmb2 mcc101 44208 Nov 2 2006 config.guess -rwxr-xr-x 1 mccssmb2 mcc101 32448 Nov 2 2006 config.sub -rw-r--r-- 1 mccssmb2 mcc101 20255 Oct 31...