On Sun, May 24, 2009 at 7:38 PM, Sarah Allen wrote:
> David Chelimsky wrote:
>> FYI - if you put this file in spec/helpers/swf_object_helper_spec.rb,
>> then :type => :helper is implied, so you don't have to make it
>> explicit.
>
> just curious... are there any other magic directories I should kn
David Chelimsky wrote:
> FYI - if you put this file in spec/helpers/swf_object_helper_spec.rb,
> then :type => :helper is implied, so you don't have to make it
> explicit.
just curious... are there any other magic directories I should know
about?
Thanks,
Sarah
--
Posted via http://www.ruby-for
David Chelimsky wrote:
> FYI - if you put this file in spec/helpers/swf_object_helper_spec.rb,
> then :type => :helper is implied, so you don't have to make it
> explicit.
Nice.
By the way, I've been enjoying The RSpec Book, but it looks like I had
to figure out view helpers before that chapter
On Sun, May 24, 2009 at 3:20 PM, Sarah Allen wrote:
> Sarah Allen wrote:
>> Sarah Allen wrote:
>>> line 17 is:
>>> html.should have_tag('script', /swfobject.embedSWF/)
>>
>> I order to use have_tag, it appears I have to include:
>>
>> # just enough infrastructure to get 'assert_select' to wo
Sarah Allen wrote:
> Sarah Allen wrote:
>> line 17 is:
>> html.should have_tag('script', /swfobject.embedSWF/)
>
> I order to use have_tag, it appears I have to include:
>
> # just enough infrastructure to get 'assert_select' to work
> require 'action_controller'
> require 'action_controlle
David Chelimsky wrote:
> What version of rspec are you using?
1.2.6
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Sat, May 23, 2009 at 3:00 PM, Sarah Allen wrote:
> Sarah Allen wrote:
>> Sarah Allen wrote:
>>> line 17 is:
>>> html.should have_tag('script', /swfobject.embedSWF/)
>>
>> I order to use have_tag, it appears I have to include:
>>
>> # just enough infrastructure to get 'assert_select' to wo
Sarah Allen wrote:
> Sarah Allen wrote:
>> line 17 is:
>> html.should have_tag('script', /swfobject.embedSWF/)
>
> I order to use have_tag, it appears I have to include:
>
> # just enough infrastructure to get 'assert_select' to work
> require 'action_controller'
> require 'action_controlle
Sarah Allen wrote:
> line 17 is:
> html.should have_tag('script', /swfobject.embedSWF/)
I order to use have_tag, it appears I have to include:
# just enough infrastructure to get 'assert_select' to work
require 'action_controller'
require 'action_controller/assertions/selector_assertions'
i