Done!
Jarmo
On Jun 16, 5:22 pm, David Chelimsky wrote:
> Seems like a bug. Please submit it
> tohttp://github.com/rspec/rspec-core/issuesfor
> rspec-2,http://rspec.lighthouseapp.comto make sure it gets backported to
> rspec-1.
>
> Thx,
> David
___
r
On 16 Jun 2010, at 15:20, Matt Wynne wrote:
>
> On 16 Jun 2010, at 15:11, Jarmo Pertman wrote:
>
>> Hello.
>>
>> I wanted to include module into ExampleGroup to write less code within
>> examples, but was unable to do so. This seems to be strange, because
>> in regular Class it works and all m
Why do you think that it's not working in regular Ruby either?
Check the following example to see that it does:
module MyModule
MyConstant = 1
def my_method
2
end
end
class MyClass
include MyModule
def initialize
p my_method
p MyModule::MyConstant
p MyConstant
end
end
On Jun 16, 2010, at 9:11 AM, Jarmo Pertman wrote:
> Hello.
>
> I wanted to include module into ExampleGroup to write less code within
> examples, but was unable to do so. This seems to be strange, because
> in regular Class it works and all methods within that module are also
> accessible. See the
On 16 Jun 2010, at 15:11, Jarmo Pertman wrote:
> Hello.
>
> I wanted to include module into ExampleGroup to write less code within
> examples, but was unable to do so. This seems to be strange, because
> in regular Class it works and all methods within that module are also
> accessible. See the