On Apr 29, 2008, at 12:59 AM, Patrick Aljord wrote:
Hey all,
I have an action that looks like this:
def create
if using_open_id?
open_id_authentication(params[:openid_url])
else
password_authentication(params[:email], params[:password])
end
end
I have a spec that looks li
Hey all,
I have an action that looks like this:
def create
if using_open_id?
open_id_authentication(params[:openid_url])
else
password_authentication(params[:email], params[:password])
end
end
I have a spec that looks like this:
it "should login and redirect" do
Very cool, I'll try it out tomorrow.
--
Chad
On Mon, Apr 28, 2008 at 8:08 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> I'm using rspactor now over autotest. I'll give the beta a shot.
>
> -Corey
>
>
>
> On Mon, Apr 28, 2008 at 3:51 PM, rubyphunk <[EMAIL PROTECTED]> wrote:
>
> > Hey all.
> >
> >
Just put a directory path to a project in the text field, and click Run. It
will do the rest as far as I can tell,
Zach
On Mon, Apr 28, 2008 at 8:46 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> Well, I got it running (seemingly), but I'm not 100% sure how to use it.
> -Corey
>
>
> On Mon, Apr 28
Well, I got it running (seemingly), but I'm not 100% sure how to use it.
-Corey
On Mon, Apr 28, 2008 at 8:08 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> I'm using rspactor now over autotest. I'll give the beta a shot.
> -Corey
>
>
> On Mon, Apr 28, 2008 at 3:51 PM, rubyphunk <[EMAIL PROTECTED]>
On Apr 28, 2008, at 11:42 AM, Olivier Dupuis wrote:
Hi Scott,
I'm having no trouble running script/generate rspec. I'm using the
CURRENT version of rspec and rspec_on_rails. I just reinstalled
them last week.
Any idea what could be causing this?
No idea. What is line 9 of script/sp
I'm using rspactor now over autotest. I'll give the beta a shot.
-Corey
On Mon, Apr 28, 2008 at 3:51 PM, rubyphunk <[EMAIL PROTECTED]> wrote:
> Hey all.
>
> I've just release a first preview/beta of the upcoming RSpactor.app; a
> spec runner for Mac OS X Leopard. This is just some kind of test
>
On 28 apr 2008, at 17:31, steven shingler wrote:
When "the user logs in with username and password" do
post "/sessions/create", :user => { :login => @username, :password
=> @password }
end
Try post_via_redirect...
greetz,
bartz
___
rspec-users
Hey all.
I've just release a first preview/beta of the upcoming RSpactor.app; a
spec runner for Mac OS X Leopard. This is just some kind of test
version and I'm looking for people who love to sit on the edge :) I
need some help to find bugs and polish the interface/interaction.
RSpactor is basica
Assuming there's nothing helpful in test.log..
Adding 'debugger' to the misfiring steps may help troubleshoot this..
You'll prolly need to add the following to your helper.rb first.
require 'rubygems'
require 'ruby-debug'
Re-run the story and it should stop at the debugger.
Between manually s
On Mon, Apr 28, 2008 at 8:31 AM, steven shingler <[EMAIL PROTECTED]> wrote:
> However, I'm getting a
> Spec::Expectations::ExpectationNotMetError: expected redirect to "/",
> got no redirect
Often when this happens, it's because an error occurs in the request.
You can tail test.log to see if t
Hi Scott,
I'm having no trouble running script/generate rspec. I'm using the CURRENT
version of rspec and rspec_on_rails. I just reinstalled them last week.
Any idea what could be causing this?
Thank you
Olivier Dupuis
On Sat, Apr 26, 2008 at 12:15 AM, Scott Taylor <
[EMAIL PROTECTED]> wrote
Hi all,
Have been following:
http://www.tomtenthij.co.uk/2008/1/25/rspec-plain-text-story-runner-on-a-fresh-rails-app
..as an introduction into the story runner.
It shows how to get a couple of scenarios going to test the
restful_authenticated plugin from plain text stories.
I thought I'd go comp
Thanks for all of the great replies!
This thread answered a lot of my questions.
-Matt
> From: David Chelimsky <[EMAIL PROTECTED]>
> Reply-To: rspec-users
> Date: Mon, 28 Apr 2008 01:17:17 -0500
> To: rspec-users
> Subject: Re: [rspec-users] BDD/Rails/Shoulda
>
>
> On Apr 24, 2008, at 5:57
Mike Cohn just wrote a nice post justifying what has become the
preferred template for stories in BDD:
As a [ role ]
I want [ feature ]
So that [ benefit ]
http://blog.mountaingoatsoftware.com/?p=24
___
rspec-users mailing list
rspec-users@rubyforge.
15 matches
Mail list logo