Sha256: d6270348bbddf01e01425fa21ee5a17e2df49ecc0341e8c37db241c5f54d08cc

Contents?: true

Size: 210 Bytes

Versions: 3

Compression:

Stored size: 210 Bytes

Contents

require 'rspec/core'
require 'render_with_view'

class FakeController
  include RenderWithView

  attr_reader :calls

  def action_name
    :new
  end

  def render(*args)
    (@calls ||= []) << args
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
render_with_view-0.1.3 spec/spec_helper.rb
render_with_view-0.1.2 spec/spec_helper.rb
render_with_view-0.1.1 spec/spec_helper.rb