search for: sandboxcontrol

Displaying 3 results from an estimated 3 matches for "sandboxcontrol".

2007 May 30
6
authentication mocks
hi I''m using restful_authentication and have controller specs working using users fixtures (and login_as) however i''ve been trying for hours without success to do it without fixtures, using mocks and stubs instead. anyone here done this? got code? :) thanks
2008 May 05
2
Geocoding and XMLRPC
...y web app, a classic feature, for showing registered user by location. For this purpose, I''ve inspired myself from the following tutorial : http://earthcode.com/blog/2006/04/rails_geocoding_and_google_map.html However, I''m getting this error from Rails : uninitialized constant SandboxController::XMLRPC Being a newbie to rails and webservices, I can''t figure out how to solve this. Can anyone help ? Regards, Joel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" grou...
2008 Oct 10
16
rspec - undefined method `describe'' for main:Object
...My spec controller is require File.dirname(__FILE__) + ''/../spec_helper'' #require ''./../../vendor/generators/rspec/lib/rspec_on_rails'' #require ''sandbox_controller.rb'' require ''spec'' gem ''rspec'' describe SandboxController,"handling someaction" do it "should get real value 10" do get :someaction assigns[:value].should equal(10) end end My controller is class SandboxController < ApplicationController def someaction @value = somemethod end protected de...