On 22 Feb 2010, at 19:45, Harm wrote:
Hi,
I have an issue with rSpec when spec'ing a module. The module in
question looks like this:
module Sheep
def self.sound
@sound ||= produce_sound()
end
end
This module is used all around the application (and corresponding
specs) and somehow values
Addendum: I'm using rspec 1.3.0, rspec-rails 1.3.2 and ruby 1.9.1p129
On Feb 22, 8:45 pm, Harm wrote:
> Hi,
>
> I have an issue with rSpec when spec'ing a module. The module in
> question looks like this:
>
> module Sheep
> def self.sound
> @sound ||= produce_sound()
> end
> end
>
> This
Hi,
I have an issue with rSpec when spec'ing a module. The module in
question looks like this:
module Sheep
def self.sound
@sound ||= produce_sound()
end
end
This module is used all around the application (and corresponding
specs) and somehow values of @sound leak between each spec. The