search for: foobar_test

Displaying 3 results from an estimated 3 matches for "foobar_test".

2006 Aug 03
5
Database configuration across developers!
...te file? For instance, in config/database.yml I have: developer_database: &developer_database adapter: mysql username: me password: something host: 127.0.0.1 development: <<: *developer_database database: foobar_development test: <<: *developer_database database: foobar_test This was done so that the database names are standardised across developers but the details of the actual database connection are modifiable by the developer (another developer will alter *just* the details in developer_database). What I''d like is to have the ''development'...
2006 Jul 28
2
Scaffold and Undercores in Tablenames
...ld FOO_BAR exists app/controllers/ exists app/helpers/ create app/views/foobar exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/ create app/models/foobar.rb identical test/unit/foobar_test.rb identical test/fixtures/foobar.yml ORA-04043: object foobar does not exist You see?? Can you help?? Thank you- damon -- Posted via http://www.ruby-forum.com/.
2008 Oct 08
9
Plugins and the test environment
Hi guys. I''m writing a plugin for use in the test environment. However, when I run ``rake test'''' or ``rake spec'''', RAILS_ENV is set to "development" when my plugin''s init.rb is run. How do you configure a plugin to load require a file in the test environment? Thanks, Nick --~--~---------~--~----~------------~-------~--~----~ You