On Tue, Jun 29, 2010 at 4:58 AM, Brandon Olivares
wrote:
> Hi,
>
> I recently upgraded to Rails 3 beta, a few weeks ago. One thing I would
> really like to do is to develop components of my application, because some
> of them I'd really like to be able to reuse on other projects. I know how to
> m
Thanks David,
That helps a lot and makes a lot of sense. Neat article by the way,
was following to get a hang on rspec.
Cheers!
On Jun 28, 3:00 pm, David Chelimsky wrote:
> On Jun 28, 2010, at 1:14 PM, bertly_the_coder wrote:
>
>
>
> > Hey Guys,
> > I am working on my first TDD/BDDD example and
Hi,
I recently upgraded to Rails 3 beta, a few weeks ago. One thing I would
really like to do is to develop components of my application, because some
of them I'd really like to be able to reuse on other projects. I know how to
make engines well enough, but it seems difficult or impossible to test
On Jun 28, 2010, at 3:03 PM, Curtis j Schofield wrote:
> On Mon, Jun 28, 2010 at 11:50 AM, David Chelimsky
> wrote:
>> On Jun 28, 2010, at 1:31 PM, Curtis j Schofield wrote:
>>
>>> Hi - I extracted some methods in a refactor and put them into a nice
>>> module and i'm in the process of making su
Any suggestions for how to detect that the methods are getting
executed that need to get executed?
On Mon, Jun 28, 2010 at 11:50 AM, David Chelimsky wrote:
> On Jun 28, 2010, at 1:31 PM, Curtis j Schofield wrote:
>
>> Hi - I extracted some methods in a refactor and put them into a nice
>> module
On Jun 28, 2010, at 1:14 PM, bertly_the_coder wrote:
> Hey Guys,
> I am working on my first TDD/BDDD example and running into a problem,
> when I run 'ruby app.rb" The app seems to run fine, but when I run
> it's rspec 'spec app_spec.rb" I get a no method defined.
>
> app.rb
> require 'rubygems'
On Jun 28, 2010, at 1:31 PM, Curtis j Schofield wrote:
> Hi - I extracted some methods in a refactor and put them into a nice
> module and i'm in the process of making sure it is covered as a
> first-class unit.
>
> I'm getting some strange behavior with what seems really straight forward
> code
Hi - I extracted some methods in a refactor and put them into a nice
module and i'm in the process of making sure it is covered as a
first-class unit.
I'm getting some strange behavior with what seems really straight forward code.
https://gist.github.com/6d54448d70b07a126c51
_
Hey Guys,
I am working on my first TDD/BDDD example and running into a problem,
when I run 'ruby app.rb" The app seems to run fine, but when I run
it's rspec 'spec app_spec.rb" I get a no method defined.
app.rb
require 'rubygems'
require 'open-uri'
require 'hpricot'
class Timer
#this is t
On Jun 28, 2010, at 10:30 AM, Timo Rößner wrote:
> On Jun 28, 5:03 pm, David Chelimsky wrote:
>> On Jun 28, 2010, at 10:00 AM, Timo Rößner wrote:
>>
>>
>>
>>> Hey guys,
>>
>>> I let the code speak for itself:
>>
>>> Below are my currently failing specs, please don't pay too much
>>> attentio
Hey David,
I just tried it out using the latest rspec and rspec-rails:
Gemfile:
gem 'rspec', '2.0.0.beta.14'
gem 'rspec-rails', '2.0.0.beta.14.1
$ bundle show rspec
~/.bundle/ruby/1.8/gems/rspec-2.0.0.beta.14
$bundle show rspec-rails
~/.bundle/ruby/1.8/gems/rspec-rails-2.0.0.beta.14.1
Unf
On Jun 28, 2010, at 10:00 AM, Timo Rößner wrote:
> Hey guys,
>
> I let the code speak for itself:
>
> Below are my currently failing specs, please don't pay too much
> attention to the specs themselves, I just want to give you a "real
> life example" of what's happening - the only interesting th
Hey guys,
I let the code speak for itself:
Below are my currently failing specs, please don't pay too much
attention to the specs themselves, I just want to give you a "real
life example" of what's happening - the only interesting thing about
the specs is that there is a call to Factory(:challeng
On Jun 28, 2010, at 6:10 AM, Julien wrote:
> On Jun 27, 5:39 am, David Chelimsky wrote:
>> On Jun 26, 2010, at 10:38 PM, geetarista wrote:
>>
What I believe to be the fix is now up in github. Geetarista, would you do
me a favor and update your gemfile to point to the git repos:
>>
>>
On Jun 28, 2010, at 12:22 AM, Alex Crichton wrote:
> I've got some helper methods in my ApplicationController which the
> views use. In the view specs the methods are all undefined, however.
> Is this intended and is there some setting I need to use to get the
> methods included?
View specs don't
On Sun, Jun 27, 2010 at 8:14 PM, Don French wrote:
> On Jun 27, 2:09 pm, David Chelimsky wrote:
>> On Jun 27, 2010, at 6:51 PM, Don French wrote:
>>
>> > I am trying to use rspec2 rails with rails3 beta 4. I created a simple
>> > project and a couple of models. The basic test spec files are there
I've got some helper methods in my ApplicationController which the
views use. In the view specs the methods are all undefined, however.
Is this intended and is there some setting I need to use to get the
methods included?
___
rspec-users mailing list
rspe
Thank you all for this discussion and the fix
I ran into the same issue this morning, but with "Factory" being the
class that was undefined (using Factory Girl)
The fix explained in this discussion worked for me.
As a reminder for others :
1 - update spec_helper
require File.expand_path("../..
18 matches
Mail list logo