Hi,
On 9/13/07, Christopher D. Pratt <[EMAIL PROTECTED]> wrote:
> I'm not really sure about your error, so hopefully someone more skilled than
> me can help you with that.
OK, turns out this problem was due to 'bad dehavior' in another part
of the code base...
Spec'ing exposed it but it'll take m
On 9/12/07, Shaker <[EMAIL PROTECTED]> wrote:
>
> Hello, David:
> Thank you very much for your help. Now it works!
> I would like to recall a message posted several days ago regarding the
> "paginate". How to test "paginate" in controller spec? One simple example
> may be like this:
> hash[:a
Hello, David:
Thank you very much for your help. Now it works!
I would like to recall a message posted several days ago regarding the
"paginate". How to test "paginate" in controller spec? One simple example
may be like this:
hash[:accounts_pages], hash[:accounts] = paginate :accounts(the t
On 9/12/07, Shaker <[EMAIL PROTECTED]> wrote:
>
> I also feel puzzled. But that's what my colleagues do, and it works. The
> thing is they use
> render :partial=>'index', :locals=>{:hash=>hash}
> in the controller to pass the hash data to the partial it will render(index
> in this case). And late
I also feel puzzled. But that's what my colleagues do, and it works. The
thing is they use
render :partial=>'index', :locals=>{:hash=>hash}
in the controller to pass the hash data to the partial it will render(index
in this case). And later they simply use <%= hash %> to get the hash data
passed
On 9/12/07, Shaker <[EMAIL PROTECTED]> wrote:
>
> Unfortunately, I am not supposed to change the code inside the partial.
> That's why I posted this message. I am trying to find a way of tackling this
> problem. Because I am going to test tens of hundreds of partials, most of
> which are using the
On 9/12/07, Evan David Light <[EMAIL PROTECTED]> wrote:
>
> On Sep 12, 2007, at 7:35 PM, David Chelimsky wrote:
>
> >> Story Runner is a new one for me. I'll have to look it up. Thanks!
> >>
> >> (Halfway through writing this, I realized, courtesy of Google,
> >> that it's a
> >> recently integra
Unfortunately, I am not supposed to change the code inside the partial.
That's why I posted this message. I am trying to find a way of tackling this
problem. Because I am going to test tens of hundreds of partials, most of
which are using the symbols rather than instance variable.
David Chelimsk
On Sep 12, 2007, at 7:35 PM, David Chelimsky wrote:
>> Story Runner is a new one for me. I'll have to look it up. Thanks!
>>
>> (Halfway through writing this, I realized, courtesy of Google,
>> that it's a
>> recently integrated piece of functionality into RSpec-on-Rails. I
>> found
>> thi
On 9/12/07, Geoffrey Wiseman <[EMAIL PROTECTED]> wrote:
> On 9/12/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
> > I like to start w/ integration tests before anything exists at all.
> > You can do that w/ Rails' Integration Tests or Story Runner (if you're
> > using RSpec's trunk).
> >
> > Next,
On 9/12/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> I like to start w/ integration tests before anything exists at all.
> You can do that w/ Rails' Integration Tests or Story Runner (if you're
> using RSpec's trunk).
>
> Next, I hit a view.
...
Despite the time involved, I'd love to see a
On 9/12/07, Evan David Light <[EMAIL PROTECTED]> wrote:
> Awesome! That's a whole lot more of a response than I had anticipated.
Me too.
> Thanks!
>
> On Sep 12, 2007, at 6:15 PM, David Chelimsky wrote:
>
> On 9/12/07, Evan David Light <[EMAIL PROTECTED]> wrote:
> I like to start w/ integration
I have been having connection problems with rspec's rubyforge
repository for a long time. I'm running my own mirror if you want
the subversion link (although the revision numbers are a little bit
off).
Generally, though, if you are having problems with this sort of thing
on rubyforge, yo
Awesome! That's a whole lot more of a response than I had
anticipated. Thanks!
On Sep 12, 2007, at 6:15 PM, David Chelimsky wrote:
On 9/12/07, Evan David Light <[EMAIL PROTECTED]> wrote:
I like to start w/ integration tests before anything exists at all.
You can do that w/ Rails' Integrat
I'm getting the following error when i either checkout or update from
svn://rubyforge.org/var/svn/rspec/trunk
svn: Error processing command 'mv' in
'C:\work\rspec2\RSpec.tmbundle\Preferences'
svn: Can't move source to dest
svn: Cannot rename file
'C:\work\rspec2\RSpec.tmbundle\Preferences\.svn\tmp
On 9/12/07, Evan David Light <[EMAIL PROTECTED]> wrote:
> Disclaimer: The following are observations by a relatively new user (couple
> of weeks) of RSpec and not intended as RSpec trollbait. Also, forgive me if
> similar topics have been discussed elsewhere on the mailing list. I at
> least did
On 9/12/2007 3:55 PM, Evan David Light wrote:
> Disclaimer: The following are observations by a relatively new user
> (couple of weeks) of RSpec and not intended as RSpec trollbait. Also,
> forgive me if similar topics have been discussed elsewhere on the
> mailing list. I at least did the d
On 9/12/07, Evan David Light <[EMAIL PROTECTED]> wrote:
> Granted that I'm new too; however, assigns[:hash] creates a member
> variable @hash that is made available to the view. Maybe that's the
> problem? Modify your view to use @hash instead.
http://rspec.rubyforge.org/documentation/ra
Granted that I'm new too; however, assigns[:hash] creates a member
variable @hash that is made available to the view. Maybe that's the
problem? Modify your view to use @hash instead.
On Sep 12, 2007, at 5:20 AM, Shaker wrote:
>
> Hello everyone:
> I am quit new to View test using
Disclaimer: The following are observations by a relatively new user
(couple of weeks) of RSpec and not intended as RSpec trollbait.
Also, forgive me if similar topics have been discussed elsewhere on
the mailing list. I at least did the due diligence of a quick search.
That said.
I'm not really sure about your error, so hopefully someone more skilled than
me can help you with that.
As far as the "mock issue" goes, I don't think that was anything more than a
suggestion. I don't foresee RSpec removing it's built in mocking. If you
want/need to use another mocking framework,
Hello everyone:
I am quit new to View test using rspec. I want to write spec for a
partial, which is rendered by a controller. However, the controller does not
pass data to the partial using instance variables, it uses symbol variable
instead. I read the example of view spec provided in the webs
--
View this message in context:
http://www.nabble.com/Can-not-tf4427918.html#a12631491
Sent from the rspec-users mailing list archive at Nabble.com.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-u
23 matches
Mail list logo