lib/spec/rails/example/helper_example_group.rb in dchelimsky-rspec-rails-1.1.8 vs lib/spec/rails/example/helper_example_group.rb in dchelimsky-rspec-rails-1.1.9

- old
+ new

@@ -94,10 +94,14 @@ # end # def helper self.class.helper end - + + def orig_assigns + helper.assigns + end + # Reverse the load order so that custom helpers which are defined last # are also loaded last. ActionView::Base.included_modules.reverse.each do |mod| include mod if mod.parents.include?(ActionView::Helpers) end