On Apr 22, 2011, at 4:58 PM, Doug McInnes wrote:
> Hi!
>
> I was just talking to @dchelimsky over Twitter about a weird corner case
> we've run into on 1.3.1 (I've also been able to reproduce it in 1.3.2)
>
> So we're using this gem called ClassyStruct that's a higher performing
> OpenStruct:
I'm still trying to work into Ruby 1.9.2 and am now experiencing
something that makes no sense to me. Using rspec 1.3.2 and rspec-rails
1.3.4 with rails 2.3.11 on ruby 1.9.2-p180, when I
$ rake spec:models
they all pass. When I
$ rake spec:controllers
they all pass. When I
$ rake spec:views
On Apr 23, 2011, at 11:45 AM, David Chelimsky wrote:
> On Apr 23, 2011, at 10:26 AM, Matthew Van Horn wrote:
>
>> On Apr 23, 2011, at 10:40 AM, Matthew Van Horn wrote:
>>
>>> def self.nullify_contextually?(other)
>>> rspec_root = defined?(RSpec) ? RSpec : Spec
>>> if defined? rspec_ro
Hi!
I was just talking to @dchelimsky over Twitter about a weird corner case we've
run into on 1.3.1 (I've also been able to reproduce it in 1.3.2)
So we're using this gem called ClassyStruct that's a higher performing
OpenStruct:
https://github.com/amikula/classy_struct
Basically it acts the
On Apr 23, 2011, at 10:26 AM, Matthew Van Horn wrote:
> On Apr 23, 2011, at 10:40 AM, Matthew Van Horn wrote:
>
>> def self.nullify_contextually?(other)
>> rspec_root = defined?(RSpec) ? RSpec : Spec
>> if defined? rspec_root::Rails::RailsExampleGroup
>> other.ancestors.include?(r
On Apr 23, 2011, at 10:40 AM, Matthew Van Horn wrote:
> def self.nullify_contextually?(other)
> rspec_root = defined?(RSpec) ? RSpec : Spec
> if defined? rspec_root::Rails::RailsExampleGroup
> other.ancestors.include?(rspec_root::Rails::RailsExampleGroup)
> else
> other.a
I'm in the midst of upgrading an app from Rails 2.3 to Rails 3, and as part of
the process, from RSpec to RSpec2.
One thing that seems to have broken for me is the use of NullDB to nullify the
database contextually for a single spec.
I think I've narrowed it down to this method in NullDB which a