On Wed, Aug 13, 2008 at 12:18 PM, Gaston Ramos <[EMAIL PROTECTED]> wrote:
> Hi guys, I'm trying to run this story http://pastie.org/252361
You need to fully-qualify the class name, which is Spec::Story::StepGroup.
Although I'm not sure why you're defining the steps this way in the
first place. I
Hi guys, I'm trying to run this story http://pastie.org/252361 and
I get the following error: http://pastie.org/252367
the helper file is: http://pastie.org/252368
I think that I'm missing a require somewhere, can anybody help me? Any
thoughts?
Versions:
rspec 1.1.4
ruby on rails 2.1
--
"Most
Bug fixed ! thank you very much !
> Hello,
>
> Try including your rails config/environment.rb file in your spec_helper:
>
> spec_helper.rb
>
> ENV["RAILS_ENV"] = "test"
> require "/../config/environment"
>
>
> --
> Joseph Wilk
> http://www.joesniff.co.uk
> --
> Posted via http://www.ruby
Hello,
Try including your rails config/environment.rb file in your spec_helper:
spec_helper.rb
ENV["RAILS_ENV"] = "test"
require "/../config/environment"
--
Joseph Wilk
http://www.joesniff.co.uk
--
Posted via http://www.ruby-forum.com/.
___
Hello, I'm trying to create a controller test with RSpec but I get the
error when I run
> spec login_controller_spec.rb --format specdoc
../../app/controllers/application.rb:4: uninitialized constant
ActionController (NameError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
Hello to every one,
I'm writing an application and using rspec to test it. I like very much it's
html output, since it allows me to look at it and see how something is
supposed to work. The only problem is that the list of example is quickly
growing to a size that makes looking for a particular
The command I was running to get the return code was "echo $?" After reading
over my email it seems I left out a bit of rather important information.
You see we expect the command to return a return code of "0" if the command
was successful in it's task which was to generate an html file with the
On Wed, Aug 13, 2008 at 5:18 PM, Zach Dennis <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 13, 2008 at 11:00 AM, aslak hellesoy
> <[EMAIL PROTECTED]> wrote:
>> On Wed, Aug 13, 2008 at 4:50 PM, Zach Dennis <[EMAIL PROTECTED]> wrote:
>>> On Wed, Aug 13, 2008 at 8:29 AM, aslak hellesoy
>>> <[EMAIL PROTECTE
On Wed, Aug 13, 2008 at 11:00 AM, aslak hellesoy
<[EMAIL PROTECTED]> wrote:
> On Wed, Aug 13, 2008 at 4:50 PM, Zach Dennis <[EMAIL PROTECTED]> wrote:
>> On Wed, Aug 13, 2008 at 8:29 AM, aslak hellesoy
>> <[EMAIL PROTECTED]> wrote:
>>> On Wed, Aug 13, 2008 at 2:25 AM, Zach Dennis <[EMAIL PROTECTED]>
On Wed, Aug 13, 2008 at 4:50 PM, Zach Dennis <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 13, 2008 at 8:29 AM, aslak hellesoy
> <[EMAIL PROTECTED]> wrote:
>> On Wed, Aug 13, 2008 at 2:25 AM, Zach Dennis <[EMAIL PROTECTED]> wrote:
>>> Sometimes I don't have a full need to make a class to do something,
>
On Wed, Aug 13, 2008 at 8:29 AM, aslak hellesoy
<[EMAIL PROTECTED]> wrote:
> On Wed, Aug 13, 2008 at 2:25 AM, Zach Dennis <[EMAIL PROTECTED]> wrote:
>> Sometimes I don't have a full need to make a class to do something,
>> yet I want something readable and concise. This is influenced from the
>> jo
On Wed, Aug 13, 2008 at 5:26 AM, Joseph Wilk <[EMAIL PROTECTED]> wrote:
> It looks like a nice shortcut for those times when you are registering
> simple one-off listeners.
>
> While it does provide a nice shortcut I can see reasons why that
> shortcut might be bad(in some cases).
>
> Separating re
On Tue, Aug 12, 2008 at 1:22 PM, Ben Fyvie <[EMAIL PROTECTED]> wrote:
> We are trying to automate the running of our rspec tests for our Rails app
> on a build server using Capistrano. The problem is that Capistrano seems to
> think that the command called to run the model tests failed when in fac
On Wed, Aug 13, 2008 at 2:25 AM, Zach Dennis <[EMAIL PROTECTED]> wrote:
> Sometimes I don't have a full need to make a class to do something,
> yet I want something readable and concise. This is influenced from the
> joys of JavaScript.
>
> Today I made this happen. Love it, like it, hate it, WDYT?
It looks like a nice shortcut for those times when you are registering
simple one-off listeners.
While it does provide a nice shortcut I can see reasons why that
shortcut might be bad(in some cases).
Separating registering and implementation can be a good thing.
*Split the logic.
*Organise file
Any fix on this yet?
On Sat, Aug 9, 2008 at 8:33 AM, Jd Roberts <[EMAIL PROTECTED]> wrote:
> > Are you running under drb? Autotest? What version of rspec? rails?
> >
> > I'm almost certain this is a rails loading bug...Are you requiring
> > anywhere? What is the value of config.cache_classes
16 matches
Mail list logo