similar to: Mongrel on Textdrive

Displaying 20 results from an estimated 1000 matches similar to: "Mongrel on Textdrive"

2007 Nov 13
7
rails story runner returning a nil response code
Has anyone noticed any problems with the Rails story runner returning a response code of "0" when doing get/post/etc methods? I just grabbed the latest rails/rspec and just started noticing this problem, http://pastie.caboo.se/117497 Regular controller specs pass as expected. -- Josh Knowles phone: 509-979-1593 email: joshknowles at gmail.com web: http://joshknowles.com
2007 Apr 13
3
rspec on rails won''t install
Hi: This command: svn co svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rail Gives me this output: svn: URL ''svn://rubyforge.org/var/svn/rspec/tags/REL_0_9_0/rspec_on_rails/vendor/plugins/rspec_on_rails'' doesn''t exist If I go the ''script/plugin install'' route, I get "Export complete." Anybody know
2007 Nov 26
8
Renaming RailsExample to RailsExampleGroup
Fyi, I made the following renames: * RailsExample -> RailsExampleGroup * FunctionalExample -> FunctionalExampleGroup * ControllerExample -> ControllerExampleGroup * ViewExample -> ViewExampleGroup * HelperExample -> HelperExampleGroup * ModelExample -> ModelExampleGroup This was done to keep the naming consistent with ExampleGroup.
2007 Apr 13
21
ZenTest autotest now handles RSpec, yay!
Josh Knowles http://joshknowles.com/ just let me know that ZenTest Autotest 3.50 now handles your RSpec specs. http://blog.zenspider.com/archives/2007/04/zentest_version_350_has_been_released.html That''s a great news. Josh also shared with me a quick hack to make autotest work with only the RSpec plugin installed. Add the following into your ~/.autotest file
2007 Mar 28
14
Autotest
Is anyone using rspec with autotest? Scott
2007 Apr 17
3
using rake db:fixtures:load with rspec fixtures
Hi, I''m new to rspec. I have some fixtures in /spec/fixtures. If they were in /test/fixtures they could be loaded with rake db:fixtures:load. Is there any way other than a symlink to load my rspec fixtures into the database with rake? Or, can I cause rspec to load the fixtures from /test/fixtures? Thanks, Paul
2008 Jan 10
21
Shoulda
Hey, we''re currently using shoulda (http://dev.thoughtbot.com/ shoulda/) on a project and I saw some things that would be really nice to see in rspec, namely the should_ methods, and especially the should_be_restful method. Do these go against the rspec goals at all? Or could an ambitious programmer go to town implementing these for rspec_on_rails? Nathan Sutton fowlduck at
2007 Mar 29
21
a better "should have valid associations"
This is pretty much the same as last time around, if you recall. Thanks to Wilson for converting to the new form. I''ve added a few lines. Basically, it iterates over your model associations and does two things. - First, just try to call the association. Usually fixes speeling erors or other such silliness. - Second, try to find a record with an :include on the association. This
2008 Jan 16
2
rspec_on_rails_matchers
All, Sorry for spamming this list about this but I think everyone who could help me with this problem is on this list... If there is a better place to post this question let me know. Anyways, I am trying to use rspec_on_rails_matchers in my rails app to improve my view specs but I can''t get them to work. The helpers for the form tags never seem to be called. I created a new Rails
2005 Aug 22
5
XML "Un-Builder?"
I''ve been unserializing XML in PHP with the XML_Serializer class, and I''m wondering if anyone knows of such a class for Ruby. Nothing fancy, just perhaps a simple way of converting arbitrary XML to a Ruby object. Maybe this has been implemented somewhere already? Thanks, Raymond
2007 Jul 09
12
Mocking User.find( :all, :limit => 10 )
Hi, I''m trying to setup a mock for my controller test but I can''t get it to recognise the mock. I use it "should find all users" do User.should_receive(:find).with( :all, :limit => 10 ).and_return([@user]) do_get end and in the controller @users = User.find(:all, :limit => 10 ) But this does not work. It gives me User expected :find with (:all)
2008 May 20
5
How to write a test for validates_uniqueness_of
Hi, I have a spec it "should have a unique username " I have a code: validates_uniqueness_of :user_name Now, I don''t know how to test this code. In order to test this, do I need to run `save`? For example, @user = User.create(:username => "mike") @another = User.create(:username => "mike") @another.save.should be_false This messes up test
2007 May 29
1
TDD stats on a project
Just a thought, it would be interesting to track and graph the number of examples (and number implemented) on a daily basis as a way of tracking a project progress.
2006 Aug 06
1
writing a plugin
Hi, Does anyone know of any complete tutorials that show the basics of writing a rails plugin? thanks scot -- Posted via http://www.ruby-forum.com/.
2006 Nov 04
11
[OT] What''s the best way to install ruby/rails on Mac OS X?
Hello folks, I''ve newly bought a Mac and am new to it. I want to install Ruby on Rails on it (Ruby, Rails, SVN, Apache, MySQL, ...) but I''m not sure which way is the best. Should I go for Fink? OpenDarwin? Or just install them directly on mac. What about something in Fink, something in OpenDarwin and something directly? I''m a bit confused, may you please give me a
2007 Apr 12
3
specing class methods
Here is an example from autotest: class Autotest def self.run new.run end def new ... end def run ... end ... end How would I spec out Autotest.run? Two complications come to my mind: 1. How do I spec out class methods? (please point me to docs, if any. I can only find class level specing on "partial mocks" (of rails class objects) 2. How can I tell
2006 Jan 20
3
Anyone running a business hosting plan @ textdrive?
I currently run a handfull of sites on a MediaTemple VPS - which is blazing fast and very cheap for what I get. BUT installing rails and mysql v4 was a major pain in my ass, along with other things. I''m considering switching to a Textdrive business hosting plan but wanted to get some feedback from list members first. I pay about $200 a month quarterly for my MediaTemple service.
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
2006 Apr 27
3
Rails apps and TextDrive
Hi, I was wondering, does anyone have experience with deploying rails application(s) on TextDrive. At this time, I''m only seeing an index page remotely but on my system, I would type the following and obtain the expected result: http://localhost:3000/visitor/list However, when I perform the same operation on textdrive, I''m getting the following message on the screen:
2007 Jan 21
2
Help with Installation on OpenSolaris (TextDrive Containers)
Gents, I installed ferret successfully in my MacOS (rails development) using the gem install. I did some tests and everything worked fine. Then I tried to install it on the same way on my production environment at TextDrive? running OpenSolaris? (container). This time ''gem install ferret'' seems to be completed: [92140-AA:~/web/labs/blogblogs/trunk] root# gem install ferret