Re: [rspec-users] RSpec Website not accessible at www.rspec.info

2008-06-22 Thread T K
It's up for me. Can anybody else confirm this? ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Getting annotations in spec files.

2008-06-01 Thread T K
Hi, I just noticed that `rake notes` in rails 2.0.2 doesn't check `spec` directory. So, what I annotated with "FIXME", "TODO" and "OPTIMIZE" on *_spec.rb are discarded. Is there any quick way to `rake notes` task to check `spec` directory? -T ___ rspec

[rspec-users] Any good Rails example app created with RSpec and Rspec on Rails?

2008-05-30 Thread T K
Hi, I'm pretty new to RSpec. I've been browsing http://opensourcerails.com to find a good app built using RSpec (and RSpec on Rails). Does anybody have a recommendation? I wanna see example of mocks/stubs, associated models and integrated_view. -T ___

Re: [rspec-users] Permission error when installing rspec

2008-05-28 Thread T K
How about `sudo gem install rspec`? Then type your password. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] How to write a test for validates_uniqueness_of

2008-05-20 Thread T K
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