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
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
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
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
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
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
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
_
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.