Hi All,
I'm trying to make use of template.expects_render, is outlined in
David's post(http://blog.davidchelimsky.net/articles/2007/06/28/
template-expects_render). I get an undefined method error on
expects_render. I made sure I had the 1.0.8 gem as well as
reinstalling the plugin and redoi
gt; On 9/8/07, Leslie Freeman <[EMAIL PROTECTED]> wrote:
>> Hi All,
>> I'm trying to make use of template.expects_render, is outlined in
>> David's post(http://blog.davidchelimsky.net/articles/2007/06/28/
>> template-expects_render). I get an undefined method e
I'm trying to get full specing of my views, which involve calling
some Scriptaculous helpers in the views themselves. For instance, I
have a div containing a bunch of thumbnails which I'm going to make
sortable with sortable_element. I'm trying to figure out a good way
to write a spec for t
Hello,
I'm working on specs for a controller that handles authentication
using the restful_authentication plugin. I'm trying to find a
resource (tutorial or examples, if possible) about the best way to go
about writing mocks and specs to make sure that things like my
before_filters are work
Hi all,
I had some specs that were using fixture_file_upload that were
passing just fine. Then I froze edge rails to get some 2.0
functionality, then a I upgraded to trunk rspec to deal with
uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper
After a couple other of tribulation
On Nov 9, 2007, at 5:09 AM, David Chelimsky wrote:
> On Nov 8, 2007 11:25 PM, Leslie Freeman <[EMAIL PROTECTED]>
> wrote:
>> Hi all,
>> I had some specs that were using fixture_file_upload that were
>> passing just fine. Then I froze edge rails to get some
lper does have this line:
config.fixture_path = RAILS_ROOT + '/spec/fixtures/'
which seems right. I am hoping someone that knows more about the
inner gears of rspec has some insight as to why
Test::Unit::TestCase.fixture_path is nil.
Thanks,
Les
On Nov 9, 2007, at 8:25 AM, Leslie Fr
007, at 6:51 AM, David Chelimsky wrote:
> On Nov 10, 2007 11:25 PM, Leslie Freeman <[EMAIL PROTECTED]>
> wrote:
>> To follow up on this a little more, I created a new project, froze
>> rails to edge (REVISION_8125), and installed rspec/rspec on rails
>> from trunk. T
On Nov 11, 2007, at 5:40 PM, Brian Takita wrote:
> On Nov 11, 2007 12:36 PM, Brian Takita <[EMAIL PROTECTED]> wrote:
>> On Nov 11, 2007 8:29 AM, Leslie Freeman <[EMAIL PROTECTED]> wrote:
>>> Slowly digging to the bottom of this one.
>>>
>>> If
Hello,
I'm trying to spec a plugin that includes a module that adds
functionality to ActionController below is what I've come up with:
# vendor/plugins/custom_attribute_fu/spec/active_record_spec.rb
require File.dirname(__FILE__) + '/spec_helper'
class TestPerson < ActiveRecord::Base
end
cla
10 matches
Mail list logo