similar to: Problems with testing - error posting to other controller

Displaying 20 results from an estimated 100 matches similar to: "Problems with testing - error posting to other controller"

2006 Mar 15
2
Session (stored in db) not working in testing mode
Hi, I just switched from storing my sessions on disk to storing them in MySQL. Changing environment.rb ''config.action_controller.session_store = :active_record_store''. But now all my tests fail. I get the following error: 1) Failure: test_authorized_new(AdControllerTest) [c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/depr
2019 Aug 10
2
samba-tool ou create "OU=del-ou, dc=atest, dc=com" fails with /var/lib/samba/private/sam.ldb: No such file or directory
Hello, I am trying to use samba-tool to create OU on active directory. 1. Joined to domain. # net ads join -U <> 2. Listed GPO's on domain to check samba-tool script can pull the GPOs. # samba-tool gpo listall GPO : <> display name : test-Computers-GPO-1 path : \\atest.com\SysVol\atest.com\Policies\<> dn :
2006 Aug 23
2
Rename folder bug dovecot-1.0RC6 ?
Dear All can someone confirm this bug please ? I am using Thunderbird 1.07, TB 1.5.0.4, Horde/IMP webmail as test clients, all running on FC4. Server is 1.0RC6 on CentOS 4 with maildir-sep set to ';' To reproduce: In your favourite mail client: 1. Create a top-level mail folder "atest" 2. Rename "atest" to "atest-extra" (basically
2007 Mar 24
2
Two Problems while trying to aggregate a dataframe
Hello! Given is an Excel-Sheet with actually 11,000 rows and 9 columns. I want to work with the data in R. The contents are similar to my following example. I have a list with ID-number, personal name and two kinds of loan-values. I want to aggregate the list, that for each person only one row remains and where the loan-values are added. First I tried some commands with tapply but had no
2006 Mar 26
5
[ win32utils-Bugs-3924 ] Segmentation fault under Windows
Bugs item #3924, was opened at 26/03/2006 22:12 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=3924&group_id=85 Category: win32-taskscheduler Group: Code Status: Open Resolution: None Priority: 3 Submitted By: David FAROI (dfaroi) Assigned to: Nobody (None) Summary: Segmentation fault under Windows Initial Comment: I''m trying to make
2006 Nov 30
4
response is null when using should_render_rjs
I''m trying to use rspec to test a controller that has ajax. I have the following action: def change_ad_type_form render :update do |page| page.replace_html ''ad_sub_form'', :partial => ''text'' end end and the following spec: specify "should return Text subform on AJAX request to change_ad_type_form" do
2005 May 18
10
Salted Login Generator issues
Hello all, I''ve just installed and begun to integrate the salted login generator. So far I''m very impressed, though I''ve hit a few snags along the way. Unfortunately, I''ve met the first one that I haven''t been able to resolve on my own. When I hit the login action, I get errors in my log files. The specific error with trace is included below.
2009 Dec 27
1
gWidgets / RGtk2 - how to change a handler from a toolbar?
I want to assign a default handler to a toolbar button and change the handler later. The addhandlerclicked() method does not apply to a gAction Object, I think... defHandler <- function(h, ...) print("default") w <- gwindow() aTest <- gaction(label="Test", icon="open", handler=defHandler) tblList = list( test = aTest ) toolBar = gtoolbar(tblList,
2012 Sep 18
2
problem with vignettes when S4 classes in packages overlap
( A similar problem is also reported by Sebastian P. Luque with library(maptools) library(trip) in the vignette as below ). I am writing a vignette which loads RMySQL and RPostgreSQL. This produces the warning: Loading required package: DBI Warning in .simpleDuplicateClass(def, prev) : A specification for class ?dbObjectId? in package ?RPostgreSQL? seems equivalent to one from package
2013 Nov 08
1
Different output from lm() and lmPerm lmp() if categorical variables are included in the analysis
I've found a problem when using categorical variables in lmp() from package lmPerm According to help(lmp): "This function will behave identically to lm() if the following parameters are set: perm="", seq=TRUE, center=FALSE.") But not in the case of including categorical variables: require(lmPerm) set.seed(42) testx1 <- rnorm(100,10,5) testx2 <-
2006 Apr 13
3
Salted Hash Login Generator problem
Im trying to install salted and get errors when running the rake test... /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader .rb" "test/unit/localization_test.rb" "test/unit/user_test.rb" Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader Started ........F....E Finished in 0.108794 seconds. 1)
2006 Jul 12
3
Problem using 2.0.23 client in a domain with a Samba 2.0.20c PDC.
I have a samba PDC running 2.0.20c I installed Samba 2.0.23 on a client joined to the domain. With this combination, when I attempt to connect to a share on this client from any host even the localhost results in the following: $ smbclient //localhost/atest -U auser Password: Domain=[DOMAIN] OS=[Unix] Server=[Samba 3.0.23-SerNet-RedHat] tree connect failed: NT_STATUS_ACCESS_DENIED Windows
2006 Nov 07
7
should_redirect_to in advance - feels unnatural
I can understand that it''s easier for rspec to set up a mock in advance of the controller call. But it makes it difficult to do something like: context "The HarkController, given Louie the logged-in user" do setup do post :login, :username => ''louie'', :password => ''atest'' end specify "should redirect Louie to the home
2001 Oct 11
1
File time with SAMBA file server for MS-clients
Hello everybody, I have a big problem with my SAMBA 2.2 Server. I have Win NT/95/98 clients working with my SAMBA file server. The problem is, that the time of my files at the server is different, depending on the Windows version of the client. Example: On Win95 I create the file test.bin at a server drive at 07:43 (this is the local time and the time shown in the Win-Status bar). At the same
2014 May 21
1
LMTP hostname ignoring ENV variables
I am having an issue with LMTP appending the local hostname to received mail from Postfix. I either want to append localhost, a custom string, or nothing at all. Looking through the source code, I believe I should be able to set "export DOVECOT_HOSTNAME" and "export DOVECOT_HOSTDOMAIN" in my initscript to override the hostname set in lmtp/commands.c, client_get_added_headers()
2006 Jun 08
1
Permissions on uploaded files, TinyFile
Hi, im getting a little trouble with this, im using TinyFile as the example to upload files http://wiki.rubyonrails.com/rails/pages/TinyFile/versions/20 All goes well but the files uploaded are saved with permissions 600 (linux) and in the case of images arent showed on the browser(but uploaded and stored in the server without problems) i have to manually ftp to the uploaded files folder and
2005 Oct 27
2
Fixtures are not loading into instance variables. Why not?
Hi, I have a fixture in a unit test and I see that the fixture is loaded correctly into the database table, but no instance variables are created. So now I''m stuck. More background: this is my first RoR project and I have just installed the SaltedLoginGenerator and generated its output. Running the unit tests gives an error, so I cut it down to just 1 test:
2007 Mar 30
7
problem with using any_instance
Hey all, I have a question with using mocha in my tests. In the same test file, I have two tests, <code> def test_a klass.any_instance.stubs(:method_name).returns("something") klass.new.method_name ... end def test_b ... klass.new.method_name ... end </code> where klass is some class when the tests run, test _a passes, but test_b had an error like this:
2004 Dec 07
1
SIP URLs
I have set up an asterisk server and can successfully call between extensions using SIP. i wish to be able to call other sip users using URLs such as sip:user@sipdomain.com and have no idea how this works... every time i try it (using X-Lite soft phone), i just get a 404: not found error. Any clues? Cheers Dan -- Dan Goscomb <dang@cashcade.co.uk>
2007 Dec 05
2
[Bug 13529] New: swf-mozilla will crash firefox when access www.tudou.com
http://bugs.freedesktop.org/show_bug.cgi?id=13529 Summary: swf-mozilla will crash firefox when access www.tudou.com Product: swfdec Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: plugin AssignedTo: swfdec at