It builds successfully.
Will also test it on ruby 1.9.
On Aug 3, 1:54 pm, David Chelimsky wrote:
> On Mon, Aug 3, 2009 at 3:59 AM, Railsmaniac wrote:
> > Can't build gem with rake gem command. Here's what i've got:
>
> > nat-laptop:rspec railsmaniac$ rake gem
> > (in /Users/railsmaniac/Projects/r
Just started to learn the basics of rspec.
Before doing anything serious I wanted to get to know the set-up and
commands to run tests.
I'm pretty sure that is all OK now with respect to gems and my test
environment. It will run the tests but it seems to get the wrong
answer.
I have a controller wi
On Mon, Aug 3, 2009 at 4:00 PM, Marcelo de Moraes
Serpa wrote:
> Hello list,
>
> When installing Webrat as a plugin, do I need to change the "require
> 'webrat'" to point to the absolute directory in which webrat is
> installed in the vendor/plugins folder or is there any implicit logic
> in the re
On Tue, Aug 4, 2009 at 4:47 AM, kendog wrote:
> Just started to learn the basics of rspec.
> Before doing anything serious I wanted to get to know the set-up and
> commands to run tests.
> I'm pretty sure that is all OK now with respect to gems and my test
> environment. It will run the tests but i
Hi, all.
I am perplexed. The problem I'm having seems to be related to
rendering a "non-standard" view. In our controllers, the 'new' and
'edit' actions share a template, as shown here.
Controller:
def new
@location = Location.new
respond_to do |format|
format.html { render :tem
On Thu, Jul 30, 2009 at 6:13 PM, norm wrote:
> I have two models:
> Student has_many=>:grad_surveys
> and
> GradSurvey belongs_to=>:student
>
> I am testing the GradSurveysController#update method with
>
> it "should only allow update if the correct token is presented" do
> �...@params = {:
On Tue, Aug 4, 2009 at 11:32 AM, Michele Stuart wrote:
> Hi, all.
>
> I am perplexed. The problem I'm having seems to be related to
> rendering a "non-standard" view. In our controllers, the 'new' and
> 'edit' actions share a template, as shown here.
>
> Controller:
>
> def new
> �...@location =
Hi.
No joy with integrate_views either, although the error does change. I
discovered that the old new and and edit templates still existed. So,
with integrate_views and with the new.html.erb file on the filesystem,
we get this.
'LocationsController handling POST /cms/locations with failed save
sh
that worked! thanks David, your help is much appreciated
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
David, thanks for the reply!
> Rails handles this for you implicitly. Are you having a problem?
Yes. I don't have Cucumber, rspec, rspec-rails nor webrat installed as
gems system-wide. I only have them as plugins in the app. When I try
to run a sample feature with script/cucumber, I get the follo
10 matches
Mail list logo