It's interesting that this thread has started because I just ran into
this problem.
The error I got was:
NoMethodError in 'Signup she be a valid mac address'
protected method `normalize_mac' called for #
./spec/models/signup_spec.rb:10:
Here's the spec:
describe Signup do
before(:each) do
Quoting [EMAIL PROTECTED]:
> I can see that the file story_adapter.rb isn't where it is supposed to
> be, however, I don't know where it comes from in the first place.
>
> Can someone give me a hint here?
>
> I installed using:
>
>
> ruby script/plugin install
> svn://rubyforge.org/var/svn/rspec/t
I can see that the file story_adapter.rb isn't where it is supposed to
be, however, I don't know where it comes from in the first place.
Can someone give me a hint here?
I installed using:
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec
ruby script/plugin inst
, at 7:45 pm, barsalou wrote:
> What I'm doing now is wrapping the methods in a module, then including
> the module at the top of the script.
Can you post some examples of the modules, classes and methods you have?
Every script I've written is basically just a little object-oriented
So in the past I've written a script that query's a remote DB, takes
the data, validates it, then does some processing, producing a new file
with the data in a completely different format.
Since this is a script with it's own set of methods, etc, how do I go
about testing the pieces parts?
It
I've been going through Pat's example story and noticed that there was
no checking for a bad login. I assume this is because that would have
made the article bigger and more complicated than it needed to be.
So the question that comes of of this is:
How do folks normally handle the negative ca
Thanks guys, I appreciate it.
Mike B.
This message was sent using IMP, the Internet Messaging Program.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman
Anyone willing to tar me up the 1.0.8 of rspec and rspec_on_rails?
I'm interested in giving the story runner stuff a try.
I really got to get svn going somehow.
Mike B.
This message was sent using IMP, the Internet Messaging Progr
Scott said:
This was a known problem. I believe it should be fixed in the next
release (fixed on trunk).
Scott,
Would that mean I have to use svn? I don't have that option at the moment.
Thanks for letting me know, though.
Mike B.
-
When I untar 1.0.8 after having downloaded it from rubyforge, I get
these errors:
rspec-1.0.8/spec/spec/runner/spec_parser_spec.rb
rspec-1.0.8/spec/spec/spec_classes.rb
gzip: stdin: decompression OK, trailing garbage ignored
rspec-1.0.8/spec/spec/translator_spec.rb
rspec-1.0.8/spec/spec_helper
Sorry I left off the subject by accident...hopefully this will connect
to the thread.
Mike B.
- Forwarded message from [EMAIL PROTECTED] -
Date: Fri, 10 Aug 2007 14:33:18 -0800
From: barsalou <[EMAIL PROTECTED]>
Reply-To: barsalou <[EMAIL PROTECTED]>
To:
Scott said:
>> I'd like to output my rcov data to the screen in ascii instead of
>> html...is that possible using the rake spec:rcov command?
> Look at the RSpec gem's rdoc. I believe it is something like
> Rake::RcovTask. An option can be provided to give rcov options. Run
> rcov --help.
I'd like to output my rcov data to the screen in ascii instead of
html...is that possible using the rake spec:rcov command?
Also, is there somewhere that will allow me to search the mail
archives...I'm pretty sure someone else has asked similar questions.
Thanks for the help.
Mike B.
Quoting David Chelimsky <[EMAIL PROTECTED]>:
> On 7/27/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>> On 7/27/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>> > On 7/24/07, Eric Pugh <[EMAIL PROTECTED]> wrote:
>> > > Hi all,
>> > >
>> > > I am trying to use rspec_on_rails in a Rails app that d
Well in that specific case, please seems like a good choice
please do
@thing.should be_somthing
end
But If you had text in between then it wouldn't seem the same:
please "whatever text" do
@thing.should be_something
end
Quoting David Chelimsky <[EMAIL PROTECTED]>:
> H
A couple of things:
- it is defaulted to 1.0.5, but if there was a "current" I could
probably use that instead.
- it seems like everyone might not use the rspec_on_rails piece...what
do other think?
- there are some other checks I could put in here, suggestions are welcome.
- general code sug
Quoting David Chelimsky <[EMAIL PROTECTED]>:
>>>
>> Thanks Aslak, I wondered this myself. I looked around here :
>> http://rspec.rubyforge.org/rdoc/index.html for have_tag but didn't find
>> it.
>>
>> Where would be a good place to find some of these matchers?
>
> have_tag is not part of rspec's
Quoting aslak hellesoy <[EMAIL PROTECTED]>:
> @header is an implementation detail of your view that you shouldn't
> care about in your view spec at all. I recommend you use the have_tag
> matcher instead to verify what content gets rendered as expected.
>
> Aslak
>
Thanks Aslak, I wondered this m
18 matches
Mail list logo