similar to: integration test won''t run

Displaying 20 results from an estimated 400 matches similar to: "integration test won''t run"

2008 May 22
2
Story / Redirection to static html within public
With a rails application I''m trying to access the public/ folder from within a rspec story. I have a controller which redirects to: /public/static_html_page.html I have a story written using webat. This story uses the above controller and it expects the redirection. This story always fails as within the story it cannot follow the redirection (Always gives a 500 error). It does not
2004 Dec 02
2
Printer permissions from W2K
Hey all... I am trying to connect to a Epson FX-85 24-pin printer on my file/print/samba server. I am running SuSE 9.1/Samba 3.0.2a with CUPS as the print spool. When I try to connect to the printer from W2K land, I get this error: "Permission denied" I am at a loss as to where to look (sorry I dont have my smb.conf file posted. I am away from home for a couple of days). ALl else
2006 Sep 29
0
Living Dangerously?
how can I get the benefits of integration testing with Rspec on Rails REL_0_6_3, please? When I first started playing with Rspec on Rails, I hacked spec_helper.rb to include the IntegrationTest interface (diff below) as it was the minimum change I could make to get the the ability to run multiple actions across controllers in my spec. I use it to specify authenticated sessions and stuff.
2006 Sep 29
0
Still living dangerously
5 seconds after my last post, I twigged why a call to FeedbackController.new would return an AccountController - the IntegrationTest must intercept the call and sure enough it does: action_controller/integration,rb: 315-339 and rdebug shows that this is indeed the cause. I still don''t see how the intercept is established - I can''t see where the call to extend
2006 Jul 31
1
How do I call a controller from a model, console, or outside of rails?
Hi, I''m writing yet another cms and I need to capture the html output of a rendered template including helpers, etc from within my rails app. I plan to use backgroundrb, and I need to be able to capture the output of "pages.browse()" where pages is my controller. I need to pass in the id param. How can I do this besides using Net::HTTP? Using Net::HTTP hangs when
2006 Apr 04
1
integration tests - 1.1
I?m using the new 1.1 integration test facility? I?m trying to write a test that sees if a controller redirects to the correct place and preserves the query string. Here?s the code: class LoginRedirectTest < ActionController::IntegrationTest def test_non_admin_auth request_uri = "/datafeed/event/report?blah=blah" get(request_uri) follow_redirect!
2012 Jan 25
0
adehabitatLT -- movement based kernel density
Dear list, ? I am intersted in estimating movement based kernel densities for fish that were relocated at fixed receivers positioned along the coast. These data tend to display both a drift movment between receivers and a random movement component that can be estimated from the mean and the variance of the transit time between receivers. ?If I obtain an estimate of the diffusion coefficient from
1998 Jan 09
0
R-beta: R and Windows 3.11
I am trying to give my students acces to R. rsept (the windows95 version ?) will not run on our setup which is PC's connected to a server. rapril (the 3.11?) version will run but the graphics vanish once the graphics window is activated. Any suggstions? I did try mounting it on a DEC Alpha but getting a version to run glm is beyond me. I would appreciate any suggestions Jan G.Janacek
2007 Jan 09
1
assert_redirected_to not working as expected
I''ve installed the "acts_as_authenticated" plugin and made some modifications to the controller (app/controllers/account_controller.rb) "signup" module as follows: === def signup @page_title = ''Create Account'' @user = User.new(@params[:user]) if request.post? if @user.save session[:user] = User.authenticate(@user.login,
2007 Dec 24
1
Uninitialized constant in integration test
I am seeing weird issues when trying to create integration tests. Here is a very simple example of something that is failing. The assert_redirected_to, and other methods, fail with this or similar exceptions. I have tried requiring both ''application'' and ''listings_controller'', but neither solves this problem, although the exception changes. Anybody know
2006 May 13
0
integration: assert_template() always fails...
Hi Coders :-) Maybe somebody can help... My integration tests always fail when using assert_template() class ShopTest < ActionController::IntegrationTest def test_very_simple get("/shop/index") assert_success assert_template("/shop/index") end end the "/shop/index" is a valid url which renders flawlessly in the browser. however, the test
2006 Dec 31
0
Problem with Integration Test
I am trying to setup an integration test and I keep getting the following error: ruby test/integration/portfolios_test.rb /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'': uninitialized constant IntegrationTest (NameError) from test/integration/portfolios_test.rb:3 Empty code shell for the integration test:
2007 Oct 15
0
Fwd: Content filtered message notification
I''m not sure why mailman bounced your message (perhaps because you are not subscribed to the mailing list), but I''m glad you have solved your problem. Cheers, James. ---------- Forwarded message ---------- From: mailman-bounces at rubyforge.org <mailman-bounces at rubyforge.org> Date: 14 Oct 2007 17:21 Subject: Content filtered message notification To:
2007 Jan 26
0
Problems with assert_select in integration tests
I''ve been battling with assert_select in my integration tests for several evenings now. I''m testing a multi-step form, and after submitting the first step, my assert_selects fail on the attempts to find the form on the next page. However if I print out the response object, it has the exact text of what I''m trying to match. Here is the complete integration test. The
2008 Jun 07
2
Rails integration tests without stories
I''m looking to drive the development of a rails app that does nothing but serve a JSON API. All of the models are well tested elsewhere, so I needn''t worry about that. My only immediate goal is to be able to fire off requests to a path and check the returned JSON. I''ve tried a number of methods for this today, without being particularly enthused about any of them. I
2006 May 04
6
second assert_tag failling in rails integration test
Hi all, I''m fairly new to rails and ruby, but I''ve come across an interesting glitch and I''m not sure whether I''ve just got something wrong with my assumptions or if it really is an error in the underlying framework... I''ve created a bare-bones set of tests to show you where the problem is. What follows are the steps I went through to reproduce the
2013 Apr 10
1
[LLVMdev] LLCJ - VMKIT
Is llcj in working order? I read a while back that it had rotted. How can I help if so? I'd like to get it in working order and will pitch in my time to help get it back to a good state. -- Thanks, Ryan Fairchild -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130409/c9832b41/attachment.html>
2013 Apr 09
1
[LLVMdev] VMKit build failure on OSX
Hi all, I am currently trying to build vmkit on OSX Lion. I am using release versions of llvm/clang as 3.2 and have tired both vmkit HEAD, 3.2 and vmkit2. I have gotten farthest with 3.2 but the current build error that I am getting is llvm[3]: Compiling JavaObject.s for Release+Asserts build /vmkit/lib/j3/VMCore/Release+Asserts/JavaObject_gc.s:1647:2: error: invalid instruction mnemonic
2006 Oct 31
3
works with webrick,lighty, not mongrel
Hello, I''ve been working away to setup mongrel as my production server, however I am running into an odd problem and am not sure where to investigate for the answer. When I run using mongrel_rails start most things work fine, but a I get a few inexplicable undefined method errors, for example: undefined method `send_qbxml'' for #<Sync:0x2aaaafa7aa78> The method is
2005 Apr 12
5
File listing problems in 3.0.13
Over the weekend I upgraded my IRIX servers to 3.0.13 and have found many strange issues regarding the creation of new folders. When I attempt to add a new folder through the Windows side I get an immediate error dialog box stating "You may not be able to access file created in the folder X:\New Folder." When I select to continue the folder is created, looking on the IRIX side the