On 2008-08-30, at 12:35, Mark Wilden wrote:
On Sat, Aug 30, 2008 at 8:33 AM, Zach Dennis <[EMAIL PROTECTED]>
wrote:
On Fri, Aug 29, 2008 at 11:05 PM, Scott Taylor
> This isn't ruby - if you want ruby to include it, you'll need a
require
> statement (or a load, or autoload).
I think Scott me
On Sat, Aug 30, 2008 at 8:33 AM, Zach Dennis <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 29, 2008 at 11:05 PM, Scott Taylor
> > This isn't ruby - if you want ruby to include it, you'll need a require
> > statement (or a load, or autoload).
>
> I think Scott means to say "this isn't rspec, you need to
On Fri, Aug 29, 2008 at 11:05 PM, Scott Taylor
<[EMAIL PROTECTED]> wrote:
>
> On Aug 29, 2008, at 10:40 PM, Nick Hoffman wrote:
>
>> On 2008-08-28, at 13:27, Zach Dennis wrote:
>>>
>>> You can put it in a module and include it for model specs in
>>> spec_helper.rb
>>>
>>> Spec::Runner.configure do
On Aug 29, 2008, at 10:40 PM, Nick Hoffman wrote:
On 2008-08-28, at 13:27, Zach Dennis wrote:
You can put it in a module and include it for model specs in
spec_helper.rb
Spec::Runner.configure do |config|
# ...
config.include DescribeModelAttributeSpecHelper, :type => :model
end
Zach
Hi
On 2008-08-28, at 13:27, Zach Dennis wrote:
You can put it in a module and include it for model specs in
spec_helper.rb
Spec::Runner.configure do |config|
# ...
config.include DescribeModelAttributeSpecHelper, :type => :model
end
Zach
Hi Zach. I put the methods into the module "ModelSpecc
On 2008-08-28, at 13:57, David Chelimsky wrote:
On Thu, Aug 28, 2008 at 12:27 PM, Zach Dennis
<[EMAIL PROTECTED]> wrote:
You can put it in a module and include it for model specs in
spec_helper.rb
Spec::Runner.configure do |config|
# ...
config.include DescribeModelAttributeSpecHelper, :type
On Thu, Aug 28, 2008 at 12:27 PM, Zach Dennis <[EMAIL PROTECTED]> wrote:
> You can put it in a module and include it for model specs in spec_helper.rb
>
> Spec::Runner.configure do |config|
> # ...
> config.include DescribeModelAttributeSpecHelper, :type => :model
> end
What he said.
>
> Zach
>
You can put it in a module and include it for model specs in spec_helper.rb
Spec::Runner.configure do |config|
# ...
config.include DescribeModelAttributeSpecHelper, :type => :model
end
Zach
On Thu, Aug 28, 2008 at 12:41 PM, Nick Hoffman <[EMAIL PROTECTED]> wrote:
> On 2008-08-28, at 08:02,
On 2008-08-28, at 08:02, David Chelimsky wrote:
On Wed, Aug 27, 2008 at 2:38 PM, Nick Hoffman <[EMAIL PROTECTED]>
wrote:
If a helper method can be used for multiple model specs, obviously
it should
not be placed within a specific model's spec helper file. Is there a
recommended file in which
On Wed, Aug 27, 2008 at 2:38 PM, Nick Hoffman <[EMAIL PROTECTED]> wrote:
> If a helper method can be used for multiple model specs, obviously it should
> not be placed within a specific model's spec helper file. Is there a
> recommended file in which to put such a method? Maybe
> spec/helpers/appli
10 matches
Mail list logo