[rspec-users] Rspec not loading fixtures

2012-03-22 Thread Pito Salas
with *** before it... Can you see anything or give me a clue where to look. So far I am coming up empty... Thanks! Pito Salas In spec_helper.rb, which I know is running, I see: Spec::Runner.configure do |config| config.global_fixtures = :all end One of the tests in spec/contro

[rspec-users] [CUCUMBER] Noob question

2010-05-25 Thread Pito Salas
Meta question: is this the right/best place to ask for assistance with Cucumber or am I in the wrong place? Anyway, here goes. I just started using cucumber and it's very impressive! Check out this fragment: And I go to the home page Then I should see "Choose Your Jurisdiction:" within "h2" And

Re: [rspec-users] Can you explain this code to me?

2008-02-08 Thread Pito Salas
Thanks all for excellent pointers! On Feb 8, 2008 2:21 AM, Jarkko Laine <[EMAIL PROTECTED]> wrote: > On 8.2.2008, at 1.26, Pito Salas wrote: > > > I am experimenting with the restful-authentication plug in and I see > > that it has generated an rspec encantation which I

[rspec-users] Can you explain this code to me?

2008-02-07 Thread Pito Salas
I am experimenting with the restful-authentication plug in and I see that it has generated an rspec encantation which I had not seen before: it 'allows signup' do lambda do create_user response.should be_redirect end.should change(User, :count).by(1) end What does the comb

Re: [rspec-users] textmate bundle

2007-11-29 Thread R. Pito Salas
Hi Brian >> Any quick idea? > Pito, have you updated your Textmate Bundle? I got it from svn yesterday... Should I get it again? Thanks, - Pito ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] textmate bundle

2007-11-28 Thread R. Pito Salas
I am having a (probably much more elementary) problem with the bundle. When I try and "run Behavior Description" (shift-ctrl-option R) I get an error from TextMate: /Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/ Support/lib/spec_mate.rb:2:in `require': No such file to load

Re: [rspec-users] Newbie question

2007-11-27 Thread Pito Salas
That *was* the whole file. And I think therein lies the problem. I didn't realize that I needed a class def for Acct. So this, now, works: class Account end describe Account, " when first created" do it "should have a balance of $0" do end end (as I said: newbie :) Thanks! Pito _

[rspec-users] Newbie question

2007-11-27 Thread Pito Salas
I installed Rspec and am getting the following failure: $ sudo gem install rspec Successfully installed rspec-1.0.8 Installing ri documentation for rspec-1.0.8... Installing RDoc documentation for rspec-1.0.8... $ spec -v RSpec-1.0.8 (r2338) - BDD for Ruby http://rspec.rubyforge.org/ $ cat acct.