[rspec-users] How to use more than ONE mock frmk (mocha, rr, rspec)

2008-07-14 Thread 21croissants
I have started to play with http://pivots.pivotallabs.com/users/brian/blog/articles/352-introducing-rr and I really like its hyper-minimalist but readable syntax ... For the sake of flexibility, I'd like to use more than 1 mock framework. E.g.: The specs which come with the restful-authentication

Re: [rspec-users] Sharing: dont_repeat_yourself plugin custom RSpec matcher

2008-05-19 Thread 21croissants
Ashley, I ran the DRY reporter on Rails 2.0.2 and you'll find the results on http://www.21croissants.com/files/rails_2_0_2_DRY_report.html I have done a lot of refactoring lately (but did not changed the external API) and will commit my code soon ... Ashley Moran-4 wrote: > > > > Just out of

Re: [rspec-users] Sharing: dont_repeat_yourself plugin custom RSpec matcher

2008-05-01 Thread 21croissants
thanks for your feedback Ashley. You're right and one of my next action will be to create a gem so it can be use in any ruby project, I will keep the Rails plugin of course. At the moment, you can write : require ... specific your location ... + '/lib/dont_repeat_yourself/reporter' dry_reporte

[rspec-users] Sharing: dont_repeat_yourself plugin custom RSpec matcher

2008-04-29 Thread 21croissants
I wrote a Rails plugin which uses simian to look for duplicates lines in your code and reports in html format, Textmate or Netbeans. I wrote it using RSpec and I have included a RSpec custom matcher: it { rails_application. with_threshold_of_duplicate_lines(4). should be_DRY } If you use Autot

[rspec-users] Re ducing frequency of autotest file checks

2008-02-15 Thread 21croissants
I am using RSpec 1.1.3 with ZenTest-3.9.1 and I wanted to share my set up. If your cpu is at 100% when autotest is running and the fan noise is getting too much, don't worry there's something you can do. You can reduce the frequency at which autotest checks for changes on your file system by add

Re: [rspec-users] RSpec 1.1.3 + ZenTest 3.9.1 + Rails 1.2.6 do NOT ignore folders ^vendor/*

2008-02-12 Thread 21croissants
question, reply to this email or contact me at http://21croissants.com/contact JM 21croissants wrote: > > Hi, > > I just updated to the latest RSpec 1.1.3 + ZenTest 3.9.1. > I also have rspec 1.1.3 installed as a gem > > When starting autotest with -v option, there is a