Apparently Webrat is not yet compatible with Rails 3:
http://github.com/brynary/webrat/blob/master/lib/webrat/integrations/rails.rb
line 2: require "action_controller/integration"
action_controller/integration.rb does exist in Rails 2 but not in Rails
3, but I didn't find any branch for Rails
Hi,
I was doing some testing to mi controller and a error raise, and it's
driving me crazy. This are the lines that I wanna test:
@cloning_vector = CloningVector.new(params[:cloning_vector])
@cloning_vector.sequence = Sequence.new(params[:sequence])
What I'm trying to do is following:
Thank you, Peter.
Rodrigo.
Em 11-06-2010 14:45, Peter Fitzgibbons escreveu:
remove the :type key from your describe line (it's no longer needed).
Peter Fitzgibbons
(847) 859-9550
peter.fitzgibb...@gmail.com
IM GTalk: peter.fitzgibbons
IM AOL: peter.fitzgibb...@gmail.com
On 6/11/10 12:30 PM, R
On Fri, Jun 11, 2010 at 2:53 PM, Rick DeNatale wrote:
> On Fri, Jun 11, 2010 at 11:17 AM, David Chelimsky
> wrote:
>> On Jun 11, 2010, at 10:56 AM, Rick DeNatale wrote:
>>
>>> On Thu, Jun 10, 2010 at 4:10 PM, David Chelimsky
>>> wrote:
On Thu, Jun 10, 2010 at 3:14 PM, geetarista wrote:
>
On Fri, Jun 11, 2010 at 11:17 AM, David Chelimsky wrote:
> On Jun 11, 2010, at 10:56 AM, Rick DeNatale wrote:
>
>> On Thu, Jun 10, 2010 at 4:10 PM, David Chelimsky
>> wrote:
>>> On Thu, Jun 10, 2010 at 3:14 PM, geetarista wrote:
Since Rspec-Rails 2 is specifically geared toward Rails 3, I'
The wiki (especially the index on its right hand)
http://wiki.github.com/dchelimsky/rspec/
currently (to me) feels a bit hard to navigate.
Given that my one request to github to allow for orderable right hand
index was denied, I was wondering if some work wants to be done on it
to make it easier
This came out of the mailer generator w/ Rspec-rails installed :
describe Notifier do
it "should deliver activation instructions message" do
@expected.subject = "Activation instructions"
@expected.to = "t...@example.org"
@expected.from= "f...@example.com"
@expected.bod
Sent from my iPhone
On Jun 11, 2010, at 1:30 PM, Rodrigo Rosenfeld Rosas > wrote:
Now I'm getting:
no such file to load -- action_controller/integration
Backtrace, please
Am I missing something?
Thanks,
Rodrigo.
P.S.: Sorry if this was sent twice...
Em 11-06-2010 01:10, David Chelim
Now I'm getting:
no such file to load -- action_controller/integration
Am I missing something?
Thanks,
Rodrigo.
Em 11-06-2010 01:10, David Chelimsky escreveu:
Change the directory name to requests (a la merb)
Sent from my iPhone
On Jun 10, 2010, at 10:35 PM, Rodrigo Rosenfeld Rosas
wrote
remove the :type key from your describe line (it's no longer needed).
Peter Fitzgibbons
(847) 859-9550
peter.fitzgibb...@gmail.com
IM GTalk: peter.fitzgibbons
IM AOL: peter.fitzgibb...@gmail.com
On 6/11/10 12:30 PM, Rodrigo Rosenfeld Rosas wrote:
Now I'm getting:
no such file to load -- actio
Also, changing the directory name didn't affect the custom
IntegrationHelper issue...
Rodrigo.
Em 11-06-2010 01:10, David Chelimsky escreveu:
Change the directory name to requests (a la merb)
Sent from my iPhone
On Jun 10, 2010, at 10:35 PM, Rodrigo Rosenfeld Rosas
wrote:
Hi guys,
I'm
Now I'm getting:
no such file to load -- action_controller/integration
Am I missing something?
Thanks,
Rodrigo.
P.S.: Sorry if this was sent twice...
Em 11-06-2010 01:10, David Chelimsky escreveu:
Change the directory name to requests (a la merb)
Sent from my iPhone
On Jun 10, 2010, at 1
I'm on rails 2.3.5 with rspec 1.3.0, rspec 1.3.2
No, the route def is not aware of these extra params, but it works. But I'm
not sure it is clean though. If not, I searched to specify these params in
the route, with no sucess.
Regards
On Fri, Jun 11, 2010 at 11:20 AM, David Chelimsky wrote:
>
Sorry I mean
rails 2.3.5 with rspec 1.3.0, rspec-rails 1.3.2
On Fri, Jun 11, 2010 at 11:37 AM, Remi Gagnon wrote:
> I'm on rails 2.3.5 with rspec 1.3.0, rspec 1.3.2
>
> No, the route def is not aware of these extra params, but it works. But
> I'm not sure it is clean though. If not, I searche
On Jun 11, 2010, at 9:34 AM, Remi Gagnon wrote:
> Hi,
>
> Its maybe not related to rspec but I can't figure out how to fix it. Here is,
>
> In my helper(Rails) I got the piece of code :
>
> sortie += link_to(entete_colonne + " " +
> image_sens_tri,client_journal_activites_path(:ordre_tr
On Jun 11, 2010, at 10:56 AM, Rick DeNatale wrote:
> On Thu, Jun 10, 2010 at 4:10 PM, David Chelimsky wrote:
>> On Thu, Jun 10, 2010 at 3:14 PM, geetarista wrote:
>>> Since Rspec-Rails 2 is specifically geared toward Rails 3, I'm
>>> wondering why it doesn't use railtie, the new generators, etc.
On Fri, Jun 11, 2010 at 10:29 AM, Peter Fitzgibbons
wrote:
> HI David,
>
> I'm not sure what your question was ?
I think he was referring to the fact that you are asking about a haml
view, but in your original post you have
describe "user_sessions/new.html.erb" do
rather than
describe "user_se
On Thu, Jun 10, 2010 at 4:10 PM, David Chelimsky wrote:
> On Thu, Jun 10, 2010 at 3:14 PM, geetarista wrote:
>> Since Rspec-Rails 2 is specifically geared toward Rails 3, I'm
>> wondering why it doesn't use railtie, the new generators, etc. Will
>> it stay this way or is it planned to support th
Awesome. Thanks for the clarification!
On Jun 10, 1:10 pm, David Chelimsky wrote:
> On Thu, Jun 10, 2010 at 3:14 PM, geetarista wrote:
> > Since Rspec-Rails 2 is specifically geared toward Rails 3, I'm
> > wondering why it doesn't use railtie, the new generators, etc. Will
> > it stay this way
HI David,
I'm not sure what your question was ?
To word it differently : Does anyone know what the issue might be with a
view spec on 'new.html.haml' :
1) user_sessions/new.html.haml renders blank form
Failure/Error: render
No route matches {}
Peter Fitzgibbons
(847) 859-9550
peter
HI David,
If you could point me toward the interesting part of the rspec source I
would be willing to look into this from the back end.
Thanks,
Peter Fitzgibbons
(847) 859-9550
peter.fitzgibb...@gmail.com
IM GTalk: peter.fitzgibbons
IM AOL: peter.fitzgibb...@gmail.com
On 6/10/10 3:13 PM, Da
Hi,
Its maybe not related to rspec but I can't figure out how to fix it. Here
is,
In my helper(Rails) I got the piece of code :
sortie += link_to(entete_colonne + " " + image_sens_tri,*
client_journal_activites_path*(:ordre_tri => nom_colonne, :sens_tri =>
params[:sens_tri],:filtre => pa
On Thu, Jun 10, 2010 at 4:41 PM, wrote:
> I might be missing something basic here, but I'm stumped on this
> error:
>
> model code:
>
> class CachedStat < ActiveRecord::Base
> def self.create_stats_days_ago(days_ago, human_id)
> d = Date.today - days_ago.day
> �...@prs = PageRequest.find(:
23 matches
Mail list logo