On Sat, 2008-07-26 at 16:38 -0600, Ben Mabey wrote:
> Any other suggestions/ideas of how to handle the external JS files?
Wasn't there some Google-hosted JS lib repository launched a little
while ago? That could be used for Prototype?
Jon
--
Jonathan Leighton
http://jonathanleig
y_html_includes ] do
> if ENV['CC_BUILD_ARTIFACTS']
> ruby "stories/all.rb --format html >
> #{File.join(ENV['CC_BUILD_ARTIFACTS'], 'Stories', 'index.html')}"
> else
> ruby "stories/all.rb --format plain --co
Hiya,
I am trying to use the HTML Story Formatter in conjunction with
CruiseControl.rb. I have got it outputting the stories to a file, but I
notice there are CSS and JS files linked in the head, which don't appear
to be anywhere in the rspec repository. Are these files available and if
so where?
I have been upgrading my helper specs due to the recent change regarding
mixing in modules:
http://blog.davidchelimsky.net/2008/5/29/rspec-waving-bye-bye-to-implicit-module-inclusion
Unfortunately I have hit a snag. It seems that when the helper uses
routes I get an error about a nil object. For i
On Thu, 2008-07-17 at 09:40 -0500, David Chelimsky wrote:
> On Thu, Jul 17, 2008 at 9:37 AM, Zach Dennis <[EMAIL PROTECTED]> wrote:
> > Perhaps...
> >
> > When "I login with invalid credentials"
> > Then "I see that I have not been logged in"
>
> Or
>
> When I login with invalid credential
the user sees the
form again, instead of moving on through the application? I guess I
could test that they *don't* get redirected?
Cheers,
Jon
--
Jonathan Leighton
http://jonathanleighton.com/
___
rspec-users mailing list
rspec-users@rubyf
step, specifically the step is "Then the form
should be shown". I guess I could split them into "Then the new/edit
form should be shown" but it doesn't seem a huge issue...
--
Jonathan Leighton
http://jonathanleighton.com/
I have a Rails spec where I want to check that the action_name is either
"create" or "update". I can think of a couple of ways to do it, but none
of them reads fantastically well:
1. ["create", "update"].should include(controller.action_name)
Problem: The error message, should it fail, is: expect
On Tue, 2008-07-15 at 13:40 +0200, Piotr Wlodarek wrote:
> Jonathan Leighton wrote:
> > Is there any simple, easy way to profile the running of my specs? It has
> > recently starting being way slower and I want to know why :)
>
> spec --format profile
Thanks, but I was mo
Hi,
Is there any simple, easy way to profile the running of my specs? It has
recently starting being way slower and I want to know why :)
Cheers,
Jon
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-use
ou do consider submodules to be a good
idea if you are using and wish to track third-party upstream code, for
example plugins in a Rails project?
Cheers
--
Jonathan Leighton
http://jonathanleighton.com/
___
rspec-users mailing list
rspec-users@ruby
butingpatches
> for more info.
>
> Cheers,
> David
> ___
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
--
Jonathan Leighton
http://jonathanleighton.com/
___
>
>
>
> --
> http://www.coreyhaines.com
> The Internet's Premiere source of information about Corey Haines
> _______
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
--
Jonath
"
end
end
Some of the above is me using my creative license but you get the idea.
Just thought it might spark some ideas/opinions... it's certainly not a
perfect implementation/API but I've found the general idea quite useful.
I personally think this is the right level at which
posts.blogger_id column
actually exists), but you've got nothing interesting to poke it with...
On the other hand maybe it's stupid testing that as you are really
testing the database, which is a different layer entirely. But in
practise I know it
than whether it's defined?
--
Jonathan Leighton
http://jonathanleighton.com/
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
ted
by the fact that I've never really used integration testing that much).
A full example of testing a Rails controller would be extremely useful
to me.
Thanks,
Jon
--
Jonathan Leighton, Web Developer
http://jonathanleighton.com/
___
rspec-users mai
17 matches
Mail list logo