Module: Rspec::Rails23::Controllers::TemplateIsolationExtensions
- Defined in:
- lib/rspec/rails23/controllers.rb
Instance Method Summary collapse
Instance Method Details
#file_exists?(ignore) ⇒ Boolean
24 |
# File 'lib/rspec/rails23/controllers.rb', line 24 def file_exists?(ignore); true; end |
#render(*args) ⇒ Object
30 31 32 33 |
# File 'lib/rspec/rails23/controllers.rb', line 30 def render(*args) return super if Hash === args.last && args.last[:inline] record_render(args[0]) end |
#render_file(*args) ⇒ Object
26 27 28 |
# File 'lib/rspec/rails23/controllers.rb', line 26 def render_file(*args) @first_render ||= args[0] unless args[0] =~ /^layouts/ end |