Bryan Ray wrote:
I believe the problem is that you're not telling the Language model
what to stub/mock when it calls the find method inside of
set_site_language.
I'm not entirely sure, but I would imagine that the TestUnit test is
passing, because it's using the full Rails stack to run the
Gregg Pollack wrote:
You know how sometimes you look in /log/test.log for debug information
like which test caused a certain render or query?
I found this post which shows how to get test information printed out in
your test.log with test:unit and shoulda, but I'm not sure there's a way
to do
On Fri, Jul 4, 2008 at 4:19 PM, Ben Mabey [EMAIL PROTECTED] wrote:
Gregg Pollack wrote:
I found this post which shows how to get test information printed out in
your test.log with test:unit and shoulda, but I'm not sure there's a way
to do it with RSpec.
Damn, that is a good idea.
In your
Ben Mabey wrote:
Gregg Pollack wrote:
You know how sometimes you look in /log/test.log for debug information
like which test caused a certain render or query?
I found this post which shows how to get test information printed out in
your test.log with test:unit and shoulda, but I'm not sure
Unless you're looking for the steps to show up when you run things, why not
just have a helper method that does the setup for you and then have a Given
step that invokes that method?
I know I can extract logic into steps, but I'd like the pre-requisite
scenarios to have some assertions, and
Hello,
Anyone knows of open source projects that uses RSpec and RSpec Stories? I'd
love to see how it is being used in different projects.
Thank you
Olivier Dupuis
___
rspec-users mailing list
rspec-users@rubyforge.org
Someone on the list was just referencing Typo -
http://svn.typosphere.org/typo/trunk/spec/controllers/comments_controller_spec.rb
Doesn't look like they use stories, though.
On 4-Jul-08, at 4:29 AM, Olivier Dupuis wrote:
Hello,
Anyone knows of open source projects that uses RSpec and RSpec
I know there are stories in the restful-authentication plugin
http://github.com/technoweenie/restful-authentication/tree/master/generators/authenticated/templates/stories
Erin
On 4 Jul 2008, at 11:29, Olivier Dupuis wrote:
Hello,
Anyone knows of open source projects that uses RSpec and
On Jul 4, 2008, at 5:29 AM, Olivier Dupuis wrote:
Hello,
Anyone knows of open source projects that uses RSpec and RSpec
Stories? I'd love to see how it is being used in different projects.
Here are a few that I know of:
rspec examples (no stories)
* http://github.com/wycats/merb-core and
Hey all,
I'm looking for ways to optimize rspec and came upon something
interesting. If I remove handling for auto-generated descriptions (the
thing that allows you to say specify { 5.should == 5 } with no
description string) we get an average 35% performance increase per
expectation.
On Jul 4, 2008, at 6:29 AM, Olivier Dupuis wrote:
Hello,
Anyone knows of open source projects that uses RSpec and RSpec
Stories? I'd love to see how it is being used in different projects.
There are lots of projects:
rspec itself,
rubinius / rubyspec
a series of rails plugins, like:
On Fri, Jul 4, 2008 at 1:45 PM, David Chelimsky [EMAIL PROTECTED] wrote:
Hey all,
I'm looking for ways to optimize rspec and came upon something interesting.
If I remove handling for auto-generated descriptions (the thing that allows
you to say specify { 5.should == 5 } with no description
On Fri, Jul 4, 2008 at 4:45 PM, David Chelimsky [EMAIL PROTECTED] wrote:
So - how bad do you think this would suck to remove that feature? Are you
using it yourself?
Personally, I *love* this feature, and would not like to see it go.
One of my heuristics for a good spec is that it either a) has
On Fri, Jul 4, 2008 at 4:45 PM, David Chelimsky [EMAIL PROTECTED] wrote:
So - how bad do you think this would suck to remove that feature? Are you
using it yourself?
I'm not, but would it be impractical to extract it out into some sort
of module or helper and tell people to include it in their
David Chelimsky wrote:
Hey all,
I'm looking for ways to optimize rspec and came upon something
interesting. If I remove handling for auto-generated descriptions (the
thing that allows you to say specify { 5.should == 5 } with no
description string) we get an average 35% performance increase
On Sat, Jul 5, 2008 at 12:18 PM, Steve Eley [EMAIL PROTECTED] wrote:
On Fri, Jul 4, 2008 at 4:45 PM, David Chelimsky [EMAIL PROTECTED] wrote:
So - how bad do you think this would suck to remove that feature? Are you
using it yourself?
I'm not, but would it be impractical to extract it out into
On Jul 4, 2008, at 10:54 PM, Mikel Lindsaar wrote:
On Sat, Jul 5, 2008 at 12:18 PM, Steve Eley [EMAIL PROTECTED]
wrote:
On Fri, Jul 4, 2008 at 4:45 PM, David Chelimsky
[EMAIL PROTECTED] wrote:
So - how bad do you think this would suck to remove that feature?
Are you
using it yourself?
17 matches
Mail list logo