Sha256: 2b2c32330187cbce977ca23bf991d03de68ee97ae4a826e76a38c8acc75aa490
Contents?: true
Size: 1.62 KB
Versions: 6
Compression:
Stored size: 1.62 KB
Contents
Index: lib/spec/rails/extensions/action_view/base.rb =================================================================== --- lib/spec/rails/extensions/action_view/base.rb (revision 3130) +++ lib/spec/rails/extensions/action_view/base.rb (working copy) @@ -1,6 +1,6 @@ module ActionView #:nodoc: class Base #:nodoc: - include Spec::Rails::Example::RenderObserver + cattr_accessor :base_view_path def render_partial(partial_path, local_assigns = nil, deprecated_local_assigns = nil) #:nodoc: if partial_path.is_a?(String) Index: lib/spec/rails/example/rails_example_group.rb =================================================================== --- lib/spec/rails/example/rails_example_group.rb (revision 3130) +++ lib/spec/rails/example/rails_example_group.rb (working copy) @@ -30,8 +30,6 @@ end end - include Spec::Rails::Matchers - @@model_id = 1000 # Creates a mock object instance for a +model_class+ with common # methods stubbed out. Index: lib/spec/rails.rb =================================================================== --- lib/spec/rails.rb (revision 3130) +++ lib/spec/rails.rb (working copy) @@ -14,7 +14,23 @@ require 'spec/rails/version' require 'spec/rails/matchers' +module ActionView + class Base + include Spec::Rails::Example::RenderObserver + end +end + module Spec + module Rails + module Example + class RailsExample + include Spec::Rails::Matchers + end + end + end +end + +module Spec # = Spec::Rails # # Spec::Rails (a.k.a. RSpec on Rails) is a Ruby on Rails plugin that allows you to drive the development
Version data entries
6 entries across 6 versions & 1 rubygems