Re: [rspec-users] autotest giving error when having shared example in specs

2010-11-22 Thread LesFreeman
I too am having this error On Sep 28, 10:42 pm, Amiruddin Nagri wrote: > I am having a shared example 'allow authorized actions' for my Rails 3 RSpec > 2.beta.20 application. The shared example looks like > > share_examples_for 'allow authorized actions' do >   ... > end > > This shared example i

Re: [rspec-users] Putting shared specs in a separate file

2009-01-18 Thread LesFreeman
ck Hoffman wrote: > On 2009-01-17, at 14:16, LesFreeman wrote: > > > > > Hello, > > I am trying to move shared specs out of my spec_helper and into > > separate files. I found an article about the process here:http:// > > blog.kineticweb.com/articles/2008/04/15/auto

[rspec-users] Putting shared specs in a separate file

2009-01-17 Thread LesFreeman
#x27;/**/shared/*'].each { |group| require group include Object.const_get(group.match(/.*[\/]{1}([\w]*) [.rb]./).captures.first.camelize) } ... Which seems dandy. But, I get these kind of errors: /Users/lesfreeman/Sites/equvents/spec/shared/ controller_authorization_specs.rb