David Chelimsky-2 wrote:
>
>
> Can you please file a bug report at http://rspec.lighthouseapp.com? I
> need to fix something else and do another rspec-rails release over the
> weekend (before RC) and I'll fix this one in the same release. Don't
> know about a workaround this minute, but when i
Hello,
Our project is not using ActiveRecord and so I've removed database.yml and
added this line to the environment.rb file:
config.frameworks -= [ :active_record ]
Although I see in the rspec-rails source several places where the existence
of ActiveRecord::Base is checked, I am still getting
Hi there,
After upgrading to the latest Rails RC (2.2.0) and rspec 1.1.11, I'm getting
the following error in my specs (but not in the application itself):
NoMethodError in 'ApplicationHelper#truncate_text truncates text to 270
characters'
undefined method `white_list_sanitizer' for
Spec::Rails::
Pat Maddox wrote:
>
> On Tue, Jun 3, 2008 at 5:31 PM, Matt McNeil <[EMAIL PROTECTED]> wrote:
>>
>> since upgrading to 1.1.4 (I had been running without issue on a git
>> snapshot), I'm noticing that my filter actions initiated from
>> application.rb
Pat Maddox wrote:
>
> On Tue, Jun 3, 2008 at 5:31 PM, Matt McNeil <[EMAIL PROTECTED]> wrote:
>>
>> since upgrading to 1.1.4 (I had been running without issue on a git
>> snapshot), I'm noticing that my filter actions initiated from
>> application.rb
since upgrading to 1.1.4 (I had been running without issue on a git
snapshot), I'm noticing that my filter actions initiated from application.rb
seem to be running twice. I created a test rails project with the rspec
scaffold and am also seeing the same behavior here too.
Adding this code to app
Hello again,
First of all, thanks much for everyone's input on my question last week
about spec'ing an invocation of super.
Here's another question that seems resistant to my Google searching:
With this helper method (defined in a module and included in Rails
controllers):
def render_rjs_red
Hi there,
How does one spec an invocation of a Ruby keyword, such as super in this
case?
class User < ActiveResource::Base
# faking the ActiveRecord before/after_save observers
def save
super
UserMailer.deliver_activation(self) if recently_activated?
end
end
Does the solution look
Hi,
(This is my first post after months of appreciative lurking...)
I'm trying to spec the following conditional controller macro:
class ApplicationController < ActionController::Base
# turn off session management for robots
session :off, :if => lambda {|req| req.user_agent =~ /(Google|Slur