similar to: possible bug: using assert_recognizes with extras

Displaying 20 results from an estimated 500 matches similar to: "possible bug: using assert_recognizes with extras"

2008 Jan 02
1
assert_recognizes with requirements => {:method => something}
I''m having trouble with my routing, and was wondering if anyone else had seen something similar. I''ve got these two routes: map.login ''/login'', :controller => ''sessions'', :action => ''new'', :requirements => { :method => :get } map.connect ''/login'', :controller => ''sessions'',
2010 Jul 08
25
Prepared SQL statements
Dear all great developers. I wonder if there is any work being done or thoughts being shared regarding prepared SQL statements. Currently I am in heavy need of tuning SQL INSERTS that insert large (3MB) images into blobs. I am using rails 2.3.5 with postgres adapter and pg driver. Any information would be appreciated. Jarl -- You received this message because you are subscribed to the
2009 Aug 27
2
Setting @request.env["HTTP_REFERER"] in an integration test
Hi. I would like to set @request.env["HTTP_REFERER"] in an integration test, but due to its nature, I would naturally set this value to the previousle request url. How do I do that. Thanks. Jarl
2005 Dec 14
0
assert_generates and catch-all routes
I have a catch all route. map.connect ''people/*args'', :controller => ''people'', :action => ''default_action'' I can test this one way, with assert_recognizes. expected_options = { :controller => ''people'', :action => ''default_action'', :args => [''made_up''] } assert_recognizes
2012 Oct 02
8
Being strict on differentiating between IEC prefixes and SI prefixes.
One of the greatest things about rails is that it is so standards-compliant, no other framework that I have seen have complied to the HTTP standard (think REST) in such a degree that Rails does. Kudos to you all for that. I think we (Rails community) should follow the line of standards compliance and also take it to the binary prefixes [1], i.e. kilobytes, megabytes, etc. For more than half a
2006 May 09
1
name_url in tests
Hi there, I posted earlier asking about testing named routes in functional tests, but got no response, so I''m making my question less specific. It seems from the docs that it''s possible to to test named routes in cases such as: asserts_redirect_to name_url(:param => "whatever") but I haven''t seen any mention of it being used with any other tests and I keep
2006 May 18
6
Routes and Testing Routes
I love the routes feature for RoR...until now. I''m trying to write tests to make sure my urls are correctly mapping to the routes I expect them to map to. This is driving me nuts because I simply can''t get any of my tests to pass. I have thus concluded that routes must work differently than I thought. If someone could possibly point me in the right direction, I would really
2009 May 02
10
Problem verifying routing error
Hi, When upgrading to rspec/rspec-rails 1.2.6 gem (from 1.1.12), I''m having a new problem verifying routes that should not exist. This is to support something like this in routes.rb: map.resources :orders do |orders| orders.resources :items, :except => [:index,:show] end I used to use lambda {}.should_raise( routing error ), but it stopped detecting any raised error.
2010 May 28
2
Suggestion for improving value_to_boolean column conversion
Hi fantastic rails core developers. Speaking of version 2.3.5: I find it rather error_prone that values such that "some text" is silently converted to false when stored in a boolean DB field. Among other things it means that assign "some text" to boolean fields on a model will not generate any validation messages (it will silently be converted to false). I think it is like
2007 Jul 02
6
Testing route globbing and limitations of get()
Hi everyone, I''m new to rails and also to rspec, but I tried to do my homework. To answer my questions, I searched this list''s archives, the Rails API, and Google, to no avail. Therefor, I''d be grateful if someone could point me in the right directions: 1) There doesn''t seem to be a counterpart to assert_recognizes in rspec. route_for() won''t work
2006 May 17
0
Strang Behavior when testing Routes
I have the following route: [code] map.connect '':platform_filter/:software/:version/:platform/:distribution_channel/:id'', :controller => ''user/version'', :platform_filter => /all/, :platform => /windows|macintosh|unix|linux/, :distribution_channel => /Download|download/, :action => ''download'', :id =>
2014 Nov 20
9
[Bug 86491] New: Nouveau crash when shutting down
https://bugs.freedesktop.org/show_bug.cgi?id=86491 Bug ID: 86491 Summary: Nouveau crash when shutting down Product: xorg Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau at
2011 Apr 21
0
Routing assertions
Hi Thanks for help me out I have two routes : match ''admin/categories'' => ''admin#categories'', :as => ''admin_category'' match ''admin/categories/:sub_category'' => ''admin#categories'' In rspec
2006 Apr 29
1
0.9.12 iexplore.exe mozilla activex control
I downloaded wine 0.9.12 yesterday, and saw the news about iexplore.exe being included. So, I just had to try it. It downloaded the Mozilla ActiveX control and installed it, but then after the installer completed, I get the following errors: fixme:shdocvw:iecs_QueryInterface unknown interface {00020400-0000-0000-c000-000000000046} fixme:shdocvw:iecs_QueryInterface unknown interface
2000 Jan 19
1
Missing smb.conf
I hope that someone can help me with this: I hav always used Samba by installing the binaries. That has worked well. But now I need the SSL-option - so I have to install it from the bottom. I use redhad 6.0 - and samba 2.0.6. First I removed the rpm of the existing installation(and deleted the smb.conf in /etc). Then I gunziped/untared the file in tmp. In the source directory I did the
1999 Oct 12
3
Accessing a smb server at USER level
Hello! I have been using Samba for 2,5 years now. I have had the same problem since I started - I can not connect the Samba server from a W98 pc when the server security level is set to USER. So I have dropped security and use SHARE instead. I can see the share from the Window-client, but when I try to double click i get an error message saying: "Write networkpassword: , Resourse:
2009 Mar 15
0
rspec-rails 1.2.0 Released
rspec-rails version 1.2.0 has been released! * <http://rspec.info/> * <http://wiki.github.com/dchelimsky/rspec> * <http://wiki.github.com/dchelimsky/rspec/rails> * <http://wiki.github.com/dchelimsky/rspec/upgrades> Behaviour Driven Development for Ruby on Rails. Changes: ### Version 1.2.0 IMPORTANT INFORMATION: Due to changes in Rails-2.3, there are some changes in
2010 May 10
0
config.cache_classes = false is broken in 2.3.4 and 2.3.5
I have created a ticket with a simple description of how to reproduce. https://rails.lighthouseapp.com/projects/8994/tickets/4565 Jarl -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to
2008 Dec 13
1
Counter Strike Source rando quits, and that's pretty much it
I was very excited recently because for the first time in my attempts to get my windows games to work with wine I actually managed to install steam, counter strike source, and half life 1. And then it actually launched and everything seemed to be going so well but then I joined a server, and after a while counter strike just quit on me taking me back to the desktop. I haven't found anything
2009 Sep 07
0
How do I make a performance test?
Hi. I would like to make a performance test using rails 2.3.3 I see there is a generator called performance_test, but can someone give me a link to a url that gives some examples. I have read http://guides.rubyonrails.org/performance_testing.html To me however a test is something that either passes or fails. And all the examples given in article provides measurements of executions in numbers.