Re: [rspec-users] Problems running RSpec 2 with autotest/autospec

2010-12-08 Thread Michelle Pace
Kristian Mandrup wrote in post #917121: > As of beta.4, you’ll have to do add this configuration manually. Just > create an autotest directory in the root of your project, put the > following statement in ./autotest/discover.rb: > > Autotest.add_discovery { "rspec2" } Hi Kristian (or anyone who c

Re: [rspec-users] Controller specs for sub-controllers

2010-12-08 Thread Pat Maddox
On Dec 6, 2010, at 4:29 AM, Dean wrote: > I'm completely new to RSpec (and fairly new to Rails, too.) I'm > working on an existing application that has an Admin::BaseController > and sub-controllers such as Admin:TestimonialsController: > > class Admin::BaseController < ApplicationController >

Re: [rspec-users] Mocking a Model Class and a View with RSpec-Rails

2010-12-08 Thread Pat Maddox
On Dec 7, 2010, at 8:40 PM, Shea Levy wrote: > Hi all, > > I'm new to RSpec and to TDD/Agile methods in general (by "new" I mean I'm > about 4/5 of the way through The RSpec Book and haven't yet actually > implemented the practices in my projects), so this question may seem silly. > Suppose I'