search for: fixture_file

Displaying 4 results from an estimated 4 matches for "fixture_file".

2006 Jul 24
1
Testing w/out DB connection
I have several plain ruby classes that do nothing but implement algorithms. What is the prefferred way to run these w/out making a DB connection every time? Thanks, Dennis Byrne -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060724/5ff610dd/attachment.html
2006 Sep 04
1
Patch: import csv on migration
Hi, I just found a patch about importing a csv file in a migration: http://dev.rubyonrails.org/ticket/5293 This feature would be great, but the patch seems to sleep :( Perhaps anyone could attend to this patch? Thanks, Beate --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2010 Aug 29
0
Troll - A Rails plugin for making webservice mocking easier
...st. An example to make things clearer: Including the Module in ActiveSupport::TestCase (test_helper.rb), class ActiveSupport::TestCase include Troll::TestUnitStuff end and setup block of your tests: http_mock(:post, "/articles.xml",{:times => 1,:body => /frodo/},{:body => fixture_file(''article_1.xml''), :status => 201}) More can be found in test directory of plugin and README. Gotchas: 1. Works only with Test/Unit currently. Patches welcome for RSpec support. 2. Works with Rails 2.3.x only currently, work is underway for Rails3 support. Code: http://githu...
2006 Apr 13
8
DevTower Beta3 Release!
DevTower Beta3! (0.3) I''m proud to announce some major changes and improvements to DevTower in this beta release! First and foremost, DevTower is now a full plugin. Also, DevTower works (only) with Rails 1.1. ==== ABOUT ===== DevTower used to synchronize the development of Ruby On Rails applications with developers working simultaniously on multiple systems with Subversion. DevTower