Awesome David, yeah I was quite surprised that verbose was on by
default in 3.7.2.
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 13, 2008, at 9:33 PM, David Chelimsky wrote:
> On Jan 13, 2008 9:14 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
>> Awesome! That wo
Okay. Thanks for the help, guys. I'm back on track!
On Jan 13, 2008 10:33 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Jan 13, 2008 9:14 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> > Awesome! That worked perfectly, Nathan! Thanks.
>
> There will soon (like in the next day or two I think)
On Jan 13, 2008 9:14 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> Awesome! That worked perfectly, Nathan! Thanks.
There will soon (like in the next day or two I think) be a ZenTest
release which will make setting $VERBOSE obsolete. By default you
won't get the Dunno messages, but you can choose t
Awesome! That worked perfectly, Nathan! Thanks.
-Corey
On Jan 13, 2008 10:11 PM, Nathan Sutton <[EMAIL PROTECTED]> wrote:
> Set $VERBOSE=false in your .autotest file in your home directory.
> Nathan Sutton
> [EMAIL PROTECTED]
> rspec 1.1
> rspec_on_rails 1.1
> rails 2.0.2
>
> On Jan 13, 2008, at
Set $VERBOSE=false in your .autotest file in your home directory.
Nathan Sutton
[EMAIL PROTECTED]
rspec 1.1
rspec_on_rails 1.1
rails 2.0.2
On Jan 13, 2008, at 9:10 PM, Corey Haines wrote:
I get this
Dunno! app/views/coupon/index.html.erb
On Jan 13, 2008 5:29 PM, Corey Haines <[EMAIL PROTEC
I get this
Dunno! app/views/coupon/index.html.erb
On Jan 13, 2008 5:29 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> Okay, thanks.
>
>
> On Jan 13, 2008 4:54 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> > On Jan 13, 2008 3:51 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> > > When I work
> > I have a spec that is hanging when it is running.
> >
> > How do I get the rspec runner to show what specs it's running so I can
> > which one is hanging? I am calling the runner from my rails project.
>
> Which formatter ate you using? If you use the specdoc formatter it will
> output the
On Jan 13, 2008 5:47 PM, Matthew Windwer <[EMAIL PROTECTED]> wrote:
> Seems like the recently updated (and wonderful) textmate bundle does not
> take into account running individual tests that are in nested specs.
>
> Anybody else notice this? Any ideas?
There's an open ticket on this at the light
On Jan 14, 2008 12:47 AM, Matthew Windwer <[EMAIL PROTECTED]> wrote:
> Seems like the recently updated (and wonderful) textmate bundle does not
> take into account running individual tests that are in nested specs.
>
> Anybody else notice this? Any ideas?
>
I have noticed it too. Please file a bug
Seems like the recently updated (and wonderful) textmate bundle does not
take into account running individual tests that are in nested specs.
Anybody else notice this? Any ideas?
Matt
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforg
Okay, thanks.
On Jan 13, 2008 4:54 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Jan 13, 2008 3:51 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> > When I work with a .html.erb file, the autotest rspec on rails stuff
> doesn't
> > understand the file to map it to the right test. I wanted to
On Jan 13, 2008 3:51 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> When I work with a .html.erb file, the autotest rspec on rails stuff doesn't
> understand the file to map it to the right test. I wanted to submit a patch
> for this, but I'm unsure where the specs would be to update. I found the
>
When I work with a .html.erb file, the autotest rspec on rails stuff doesn't
understand the file to map it to the right test. I wanted to submit a patch
for this, but I'm unsure where the specs would be to update. I found the
necessary mapping in rspec_autotest.rb, but I can't find any specs anywhe
Ben Greenberg wrote:
> Hey all,
>
> I have a spec that is hanging when it is running.
>
> How do I get the rspec runner to show what specs it's running so I can
> which one is hanging? I am calling the runner from my rails project.
>
> Thanks,
> Ben
> _
There is also a problem with spaces in the file path to ruby or the spec
files when running on windows. A quick dumb fix:
- change the return result of the ruby method of autotest.rb
def ruby
ruby = File.join(Config::CONFIG['bindir'],
Config::CONFIG['ruby_install_name
Hey all,
I have a spec that is hanging when it is running.
How do I get the rspec runner to show what specs it's running so I can
which one is hanging? I am calling the runner from my rails project.
Thanks,
Ben
___
rspec-users mailing list
rspec-user
I don't have a lot of experience yet with the view spec'ing, but I do have
the first way I will start:
Spec a view from the outermost level and Treat extracted partials as a
hybrid of "Extract Method" and "Extract Class"
This means that I would spec out the top-most view, extract a partial to
remo
I've been getting my head around view spec'ing lately for a fairly
complex project that makes heavy use of partials in views and I have hit
up against a style puzzle.
I see two strategies for spec'ing views:
First:
Develop detailed specs for each partial and then make sure that the
final view e
> Jay - are you familiar with Acceptance Test Driven
> Development/Planning and/or Test Driven Development?
I am with TDD and Acceptance testing (not sure if this is the same as
Acceptance Test Driven Development) . I use a more classic approach to use
Martin Fowler's terminology which is why I
Ok,
found the problem after trying to make an example: I forgot to add a
stub! to accept the second call to create!
I didn't find it sooner because the error was:
Mock 'Class' expected :create! with ({:name=>"foo"}) but received it
with ({:name=>"foo2"})
And it did get it with ({:name => "fo
On Jan 13, 2008 6:56 AM, Ivo Dancet <[EMAIL PROTECTED]> wrote:
> Hi all, I have a method calling Klass.create! two times with different
> arguments (this happens in a class reponsable for reading in a csv file)
>
> I want to test those like this:
>
> in one test: Klass.should_receive(:create!).with
Hi all, I have a method calling Klass.create! two times with different
arguments (this happens in a class reponsable for reading in a csv file)
I want to test those like this:
in one test: Klass.should_receive(:create!).with(:name => "foo").once
in another: Klass.should_receive(:create!).with(:
On Jan 12, 2008 8:35 PM, Jay Donnell <[EMAIL PROTECTED]> wrote:
> >because if you have integration tests covering everything,
> >then you'll know pretty quickly when your tests aren't up to par.
>
> If we have integration tests that cover everything then why have another set
> of tests? At that po
23 matches
Mail list logo