[rspec-users] Test::Unit to RSpec Converter

2007-08-12 Thread David Rice
7;s really helped me convert old tests to the lovely RSpec :) Best, Dave --- David Rice http://www.davidjrice.co.uk ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] RSpec and acts_as_attachment

2007-08-18 Thread David Rice
[:size, :content_type].each do |attr_name| 153enum = attachment_options[attr_name] 154errors.add attr_name, ActiveRecord::Errors.default_error_messages[:inclusion] unless enum.nil? || enum.include?(send(attr_name)) 155 end 15

Re: [rspec-users] Test::Unit to RSpec

2007-08-23 Thread David Rice
r using rspec? Thanks in advance for any experienced advice, Scott Taylor ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users --- David Rice http://www.dav

Re: [rspec-users] Test::Unit to RSpec

2007-08-23 Thread David Rice
On 23 Aug 2007, at 20:23, Scott Taylor wrote: On Aug 23, 2007, at 12:18 PM, David Rice wrote: Scott, There was a thread about this earlier... You might be interested in this plugin I wrote. Kinda basic but worked for me. http://www.davidjrice.co.uk/articles/2007/8/12/ruby-on-rails-plugin