Greg Hauptmann
2008-Nov-07 08:13 UTC
[rspec-users] rspec gem vs "rspec plugin" vs "rspec-rails plugin" ???
Hi, I''ve got the rspec gem installed, as well as the two plugins "rspec" & "rspec-rails". I can''t remember which is actual used and which isn''t for my rails app when I go "rake spec"? Anyone know? Could I remove either of the core rpec gem OR the "rspec plugin"? or do I need all three components? Tks
Fernando Perez
2008-Nov-07 10:10 UTC
[rspec-users] rspec gem vs "rspec plugin" vs "rspec-rails plugin" ???
Greg Hauptmann wrote:> Hi, > > I''ve got the rspec gem installed, as well as the two plugins "rspec" & > "rspec-rails". I can''t remember which is actual used and which isn''t > for my rails app when I go "rake spec"? Anyone know? > > Could I remove either of the core rpec gem OR the "rspec plugin"? or > do I need all three components? > > TksThe plugins are no longer required, you can only use the rspec and rspec-rails gems. For a rails app you will simply have to run "script/generate rspec" to generate a few files, and then you are all set. -- Posted via http://www.ruby-forum.com/.
Greg Hauptmann
2008-Nov-07 10:23 UTC
[rspec-users] rspec gem vs "rspec plugin" vs "rspec-rails plugin" ???
so just to be clear are you saying: * rspec gem => All that is need for Ruby on Rails Rspec work * ''rspec plugin'' => not needed (functionality in gem) * ''rspec-rails'' plugin => not needed (functionality in gem) is this right? thanks again On Fri, Nov 7, 2008 at 8:10 PM, Fernando Perez <lists at ruby-forum.com> wrote:> Greg Hauptmann wrote: >> Hi, >> >> I''ve got the rspec gem installed, as well as the two plugins "rspec" & >> "rspec-rails". I can''t remember which is actual used and which isn''t >> for my rails app when I go "rake spec"? Anyone know? >> >> Could I remove either of the core rpec gem OR the "rspec plugin"? or >> do I need all three components? >> >> Tks > > The plugins are no longer required, you can only use the rspec and > rspec-rails gems. For a rails app you will simply have to run > "script/generate rspec" to generate a few files, and then you are all > set. > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
aslak hellesoy
2008-Nov-07 11:56 UTC
[rspec-users] rspec gem vs "rspec plugin" vs "rspec-rails plugin" ???
On Fri, Nov 7, 2008 at 11:23 AM, Greg Hauptmann <greg.hauptmann.ruby at gmail.com> wrote:> so just to be clear are you saying: > > * rspec gem => All that is need for Ruby on Rails Rspec work > * ''rspec plugin'' => not needed (functionality in gem) > * ''rspec-rails'' plugin => not needed (functionality in gem) > > is this right? >Not quite rspec gem or plugin => basic rspec without rails support (runner, rake task, api for describe/it, should etc) rspec-rails gem or plugin => extra support for rails model view and controller, database integration, code generation (script/generate) It doesn''t matter whether you use the gem or the plugin. Just pick one that suits your team. (If you use the plugin you don''t have to worry about people having different versions installed, but it''s alittle more work to install) Aslak> thanks again > > On Fri, Nov 7, 2008 at 8:10 PM, Fernando Perez <lists at ruby-forum.com> wrote: >> Greg Hauptmann wrote: >>> Hi, >>> >>> I''ve got the rspec gem installed, as well as the two plugins "rspec" & >>> "rspec-rails". I can''t remember which is actual used and which isn''t >>> for my rails app when I go "rake spec"? Anyone know? >>> >>> Could I remove either of the core rpec gem OR the "rspec plugin"? or >>> do I need all three components? >>> >>> Tks >> >> The plugins are no longer required, you can only use the rspec and >> rspec-rails gems. For a rails app you will simply have to run >> "script/generate rspec" to generate a few files, and then you are all >> set. >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
aslak hellesoy
2008-Nov-07 11:57 UTC
[rspec-users] rspec gem vs "rspec plugin" vs "rspec-rails plugin" ???
On Fri, Nov 7, 2008 at 12:56 PM, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:> On Fri, Nov 7, 2008 at 11:23 AM, Greg Hauptmann > <greg.hauptmann.ruby at gmail.com> wrote: >> so just to be clear are you saying: >> >> * rspec gem => All that is need for Ruby on Rails Rspec work >> * ''rspec plugin'' => not needed (functionality in gem) >> * ''rspec-rails'' plugin => not needed (functionality in gem) >> >> is this right? >> > > Not quite > > rspec gem or plugin => basic rspec without rails support (runner, rake > task, api for describe/it, should etc) > rspec-rails gem or plugin => extra support for rails model view and > controller, database integration, code generation (script/generate) >forgot to clarify - for rails development you''ll need both rspec and rspec-rails.> It doesn''t matter whether you use the gem or the plugin. Just pick one > that suits your team. > (If you use the plugin you don''t have to worry about people having > different versions installed, but it''s alittle more work to install) > > Aslak > >> thanks again >> >> On Fri, Nov 7, 2008 at 8:10 PM, Fernando Perez <lists at ruby-forum.com> wrote: >>> Greg Hauptmann wrote: >>>> Hi, >>>> >>>> I''ve got the rspec gem installed, as well as the two plugins "rspec" & >>>> "rspec-rails". I can''t remember which is actual used and which isn''t >>>> for my rails app when I go "rake spec"? Anyone know? >>>> >>>> Could I remove either of the core rpec gem OR the "rspec plugin"? or >>>> do I need all three components? >>>> >>>> Tks >>> >>> The plugins are no longer required, you can only use the rspec and >>> rspec-rails gems. For a rails app you will simply have to run >>> "script/generate rspec" to generate a few files, and then you are all >>> set. >>> -- >>> Posted via http://www.ruby-forum.com/. >>> _______________________________________________ >>> rspec-users mailing list >>> rspec-users at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/rspec-users >>> >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> >
Fernando Perez
2008-Nov-07 12:16 UTC
[rspec-users] rspec gem vs "rspec plugin" vs "rspec-rails plugin" ???
> forgot to clarify - for rails development you''ll need both rspec and > rspec-rails.What I meant is that you can go plugin-less, you just have to install the two following gems: rspec and rspec-rails, then bootstrap your app by generating a few files. And your set. I personally prefer using gems than plugins. -- Posted via http://www.ruby-forum.com/.
Greg Hauptmann
2008-Nov-07 23:08 UTC
[rspec-users] rspec gem vs "rspec plugin" vs "rspec-rails plugin" ???
oh, I hadn''t known there was a "rspec-rails" gem. Thanks On 11/7/08, Fernando Perez <lists at ruby-forum.com> wrote:> Greg Hauptmann wrote: >> Hi, >> >> I''ve got the rspec gem installed, as well as the two plugins "rspec" & >> "rspec-rails". I can''t remember which is actual used and which isn''t >> for my rails app when I go "rake spec"? Anyone know? >> >> Could I remove either of the core rpec gem OR the "rspec plugin"? or >> do I need all three components? >> >> Tks > > The plugins are no longer required, you can only use the rspec and > rspec-rails gems. For a rails app you will simply have to run > "script/generate rspec" to generate a few files, and then you are all > set. > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- Sent from my mobile device