similar to: Functional Testing Issues

Displaying 20 results from an estimated 90000 matches similar to: "Functional Testing Issues"

2006 May 05
1
RadRails and path issues
I have been using RadRails as my editor for Ruby development. Overall I''m pretty happy with it. I''m experiencing a couple of path problems though when using it. Inside of my project within RadRails I will have a directory structure that looks similar to this. +MyProject ++src +++src_sub_directories ++props ++output ..misc files RadRails then treats all files within the src
2006 Jul 24
1
All functional tests fail with RoutingError
All, I''m using InstantRails 1.0 on Windows XP and all my functional (controller) tests fail with ActionController::RoutingError, although the actions work OK through a web server/browser. Here''s an example of an error: 1) Error: test_create(AdminControllerTest): ActionController::RoutingError: No url can be generated for the hash {:controlle r=>"admin",
2008 Dec 16
0
db:create & db:migrate issues
Greetings: I am new to ROR and RadRails. All assistance will always be appreciated. My environment: Windows XP Ruby 1.8.6 Rails 2.2.2 Aptana Studio, build: 1.2.1.020234 RadRails 1.1.0.200812081651NGT I created a new ROR Project. When I attempted to run db:create --trace for the first time I got the following message: in C:/RailsApp/chbdepot) ** Invoke db:create (first_time) ** Invoke
2012 Aug 09
1
Rgd. publick key authentication failure in Win2003 !!
Hello OpenSSH team, First of all thanks for your OpenSSH tool which helped us a lot in testing our SSH-SFTP client applications. Your tool is developed as per the standards and we suggested the same to our customers also to use with our client applications. Actually now I am facing some problem when I try to connect to OpenSSH server installed in Win2003 using Public key authentication.
2006 Nov 04
0
Functional test issue for testing newbie
Hi there I''m having difficulty succesfully updating attributes via a post request in a functional test. Here''s some pastes: ###################################### # account_controller.rb def edit_details @user = User.find(self.current_user.id) return unless request.post? if @user.update_attributes(params[:user]) flash[:notice_good] = ''Your account details
2007 Jun 25
1
Functional tests and active scaffold: unexpected assertion failure.
Hello, I''m writing a functional test for a controller that uses active scaffold. def test_presence_of_field login_as(:peter) profile = Profile.find :first get :edit, {:id => profile.id} assert_response 200 assert_select "textarea#record_free_text_ec" end I was expecting the first ''assert 200'' to give me a green bar, but added it for
2006 Mar 25
0
Re: Rails Digest, Vol 18, Issue 654
Radrails! Certainly complies with what you are looking for and much more. (Ctrl-Shift-V to toggle the editor between Model and View, for example). Runs as a standalone application, or as a feature (plugin) on the Eclipse platform. Cross platform either way. Then there''s the cost: it''s free! RadRails: http://www.radrails.org/ (Just one the award for best open source Eclipse
2009 Jan 19
1
in functional test, assert_redirected_to w prefix
I had to use sub-URI deployment (could not use subdomains..), and when running my functional tests, I the redirected_to assertion embed the prefix.. quite normal ;-)) is there a way to stipulate this prefix in the test setup to avoid hard-coding in all the tests ? Expected response to be a redirect to <http://test.host/my/page> but was a redirect to
2006 Oct 30
0
OT: RadRails fails to open
Not sure what happened so I thought I''d throw it out. I''m considering re-installing but thought before I did that perhaps someone has an easier fix !ENTRY org.eclipse.osgi 4 0 2006-10-30 05:26:37.296 !MESSAGE Application error !STACK 1 java.lang.NoClassDefFoundError: org/eclipse/core/resources/IProject at
2006 Dec 29
3
Functional test a "create" action when a validation fails
I''m trying to write a functional test of a "create" action in one of my controllers. In the corresponding model I have a "validates_uniqueness_of :location". In the test case I am constructing I have the create fail with the error "Location has already been taken". Is there a way I can write an assertion like: assert_equal "Location has already been
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello, I have Oracle XE installed. I have a table USERS. When I try to generate a scaffold it gives me this error. I tried also with Mysql and it worked. E:\radrails\projects\MPS>ruby script\generate scaffold user exists app/controllers/ exists app/helpers/ create app/views/user exists test/functional/ dependency model exists app/models/ exists
2006 Sep 26
0
some help with functional testing of nested routes
I have the following functional test in test/functional for testing my products_controller: require File.dirname(__FILE__) + ''/../test_helper'' require ''products_controller'' # Re-raise errors caught by the controller. class ProductsController def rescue_action(e) raise e end end class ProductsControllerTest < Test::Unit::TestCase fixtures
2008 Oct 20
1
compile klibc problem (EABI version error)
Dear all, I am using initramfs and from the kernel document, I know klibc. So i decide to use it. We are working on marvell pxa310 (bought from Intel), and with the tools chain from marvell, I comple klibc as follows: klibc-1.5> ln -s /home/zjujoe/svn/mhlv_2.6/working/songlixin/20081007_kernel_tflashupdate/ linux klibc-1.5>cat 1.sh export KLIBCARCH=arm export
2007 Apr 21
0
Issues with Functional Tests
I''m running rails-1.2.3 under Ubuntu 6.06, and I''ve come across a few issues I''d like to raise. (1) If a controller sets flash.now[:notice] = "message", then in a functional test I don''t seem to be able to match it. flash.inspect shows "{}" and flash.now.inspect shows "#<ActionController::Flash::FlashNow:0xb63c4ecc
2006 May 05
0
Bad file descriptor during scaffold generation
Hi all, Ruby 1.8.4 (latest one click) Rails 1.1.2 Windows XP Pro, SP2 When I try to generate scaffolding I get the following error: C:\eclipse\workspace\ns_hardware>ruby script/generate scaffold User Computer exists app/controllers/ exists app/helpers/ exists app/views/computer exists test/functional/ dependency model exists app/models/ exists
2006 Jul 22
2
radrails 0.7 - can''t download / no access to mailing list?
Hi, Just wondering if anyone knows anything about what seems to be an issue trying to download version 0.7 of radrails from http://radrails.org/. I get an error, plus I can''t see a contact me email list to get back to the guys + the email lists link is broken. Error Could not read file. Go back. /home/ftp/pub/sourceforge//r/ra/radrails/radrails-0.7-win32.zip Jul 22, 2006 15:21
2006 Jun 01
5
RAD RAILS Problem. Wont start! Linux nubee
Hi I''ve just installed SUSE linux, downloaded RADRAILS, and extracted it to /home/myname/bin/radrails. When i try to run it i get the red radrails logo and then it gives me an error and stops loading. Its my first day using Linux, previously i have used windows, so any help is greately appreciated. Here is the log file with the errors in it : chrisr@s213:~> cat
2006 Apr 16
2
Possible to implement Textmate key shortcuts in RadRails?
The Rails demo videos is a great showoff on how productive Textmate editor is. The 15 minute build-a-blog example should be twice as long if there had been no keyboard shortcuts in Textmate. Unfortunately, I use windows and thus RadRails. Does anyone know how to implement the same keyboard shortcut into RadRails? Sebastian Friedrich made an overview of the keyboard shortcuts:
2005 May 30
2
Testing action mailer in functional tests - missing section in the book
Hi ! I just need a pointer on how to do functional testing of ActionMailer. My unit test for the ActionMailer is working fine - now I simply need to assert that it''s being called in my Controller. The testing book ends quite abruptly at http://manuals.rubyonrails.com/read/chapter/64 I searched around on the web, but I didn''t find anything very conclusive. Thanks, François
2006 Aug 04
2
Functional Testing Anomoly
I have a test method (below). def test_save_failed post( :edit, :record => StatusChanger.invalid_data_hash) assert_response :success assert_template ''edit'' assert assigns(:record) assert_equal false, assigns(:record).valid? end This particular method is part of a larger set of functional tests. If I run, $ ruby controller_test.rb -n