Wow, thanks for fast replies!
> rspec-ui is defunct - as far as i am concerned. none seems to be
> maintaining it, and cucumber should replace it.
Yep, feels so.
> I'm not sure I understand what there is to "support" about it. You can
> use anything inside Cucumber step definitions - Cucumber sh
Hi!
I'm using cucumber + selenium and I love it. However I'm looking to
add some methods (example: click_and_wait etc) to the lib. Therefore
looked around a bit and I got two questions:
Firstly about rspec-ui, I'm a little confused, does rspec-ui overlap
with its propose with webrat with cucumber
Hi!
I'm new to Cucumber/Story Runner, but not so new to Rspec in general.
I googled a lot before
posting :-)
I would like to mock openid consumer however I'm running out of ideas
how to access session.
I know I should avoid mocking in integration testing, but in this case
it makes sense.
Perhaps
Hi!
> > This is handy and keeps the view test isolated from changes to your
> > models, but is that really the point?
I was very confused first as well. It didn't make any point to me and
I'm not using it at all. As far as I know, I take it as an optional
tool to go nuts with views when needed. I
Hi!
Having some wine on Saturday and just playing around writing some ruby script:
* have you spec any 'system' method? As long I know it just returns
false or true and everything else is just out of reach; prove me I'm
wrong :-)
it 'should have response with 64.233.167.99'
system 'ping google.
> describe VideosController, " requesting /videos/1 using GET" do
> include UserSpecHelpers
>
> before(:each) do
> login_as mock_user
> mock_user.stub!(:access_video?).and_return true
> @mock_video = mock_model(Video)
> Video.stub!(:find).and_return @mock_video
> end
>
> def
On 10/4/07, Nathan Sutton <[EMAIL PROTECTED]> wrote:
> So how do you work with cookies properly in rspec now? I noticed in
> the docs that it mentions session, assigns, and flash, but nothing of
> cookie. I'm using edge rails so I'm concerned about changes to the
> cookie mechanisms. I need to a
> > This sounds like a fantastic idea. Why don't you give it a shot?
Thanks for feedback, I'll take more active role and perhaps able to
produce some useful stuff as well :-)
>
> Yeah - I'm already handing the HTML report off to my boss. He was
> amazed at it!
>
> I agree - this sort of thing w
Hi!
I wonder does anybody planning to go beyond the default html formatter/report?
The current html report is nice and green but what about to go a
little silly and enable also user input. For example to let customer
to add a new pending spec, comments etc. I feel it might be mentally
easier for
On 9/3/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've talked this over w/ a couple of the other committers and we've
> decided that we will NOT be deprecating the mock framework, at least
> for the foreseeable future. If/when we do, it will happen with plenty
> of notice and a cl
On 9/2/07, Wilson Bilkovich <[EMAIL PROTECTED]> wrote:
> On 9/1/07, rupert <[EMAIL PROTECTED]> wrote:
> >
> > On 1 Sep 2007, at 10:04, Tom Stuart wrote:
> >
> > > On 1 Sep 2007, at 09:31, rupert wrote:
> > >>> Are we planning on dumping the mock framework in favor of using
> > >>> Mocha
> > >> The
Hi!
I know you must be answering a lot of basic questions, sorry about that :-)
However I have not get it, how do you keep mocks updated without pain?
I reached to the point where mocking things for view. I spec
model-controller-view using "correct doc" way mocking-stubbing (plus I
should run in
On 8/28/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On 8/14/07, sbellware <[EMAIL PROTECTED]> wrote:
> >
> > Folks,
> >
> > I'd like to spec the behaviors that I'm adding to ApplicationController.
> > Specifically, I'm adding:
> >
> > def authenticated?
> > session[:username] != nil
> > end
Hi!
Can anybody link to some ror based project what is using rspec, so
nuby as me can learn from it. So it should have updated and practising
advanced rspec.
After reading last threat about "testing behaviour or testing code?",
I just realised that I would definitely learn something from app like
On 8/16/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> On 8/15/07, Courtenay <[EMAIL PROTECTED]> wrote:
> > On 8/15/07, Priit Tamboom <[EMAIL PROTECTED]> wrote:
>
> > > describe ApplicationController do
> > >it "method login_r
Good morning rspec people!
Still rspec nuby: I must do something wrong obviously.
How can I spec about redirect_to at ApplicationController
describe ApplicationController do
it "method login_required should redirect to home path without login" do
pending "I tried to use controller.login_
16 matches
Mail list logo