Displaying 3 results from an estimated 3 matches for "pezlist".
Did you mean:
peklist
2009 Mar 05
8
Can I construct the controller myself in a controller spec?
Hi
I am experimenting with Constructor based dependency injection for
rails controllers.
So I have something like this
class LoginSessionsController < ApplicationController
def initialize(authenticator = TheRealAuthenticator)
@authenticator = authenticator
end
....
end
The plan was to override the authenticator used when testing with something like
describe
2007 Apr 12
1
rspec on rails: undefined method ''controller_name''
Im trying to write a controller spec, but when I run it I get an error like
the one below.
I found Bug6707
(http://rubyforge.org/pipermail/rspec-devel/2007-March/002147.html
), but I get the error no matter how I run the spec
( whether I use rake or not)
Any ideas?
I am using 0.8.2
The Error:
C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2/lib/spec/expectati
ons/sugar.rb:14:in
2008 May 15
3
Facebooker support for iframe apps
Hi facebooker-ers,
It looks to me like facebooker does not currently support iframe
facebook apps - or am I missing something?
My first problem as I understand it is as follows - When you are
logged into facebook, and access a facebook application,
facebook tacks on a whole lot of extra fb_sig parameters to the
request (including fb_sig_user) that the application can then
validate to