Sha256: 7ec986a5e929f150403bacdcd1be46b350c868347db06c62ac260e70bda2dd4c

Contents?: true

Size: 739 Bytes

Versions: 5

Compression:

Stored size: 739 Bytes

Contents

class SpecHelperController < Merb::Controller
  
  def index
    Merb::Test::ControllerAssertionMock.called(:index)
  end
  
  def show
    Merb::Test::ControllerAssertionMock.called(:show)
  end
  
  def edit
    Merb::Test::ControllerAssertionMock.called(:edit)
  end
  
  def new
    Merb::Test::ControllerAssertionMock.called(:new)
  end
  
  def create
    Merb::Test::ControllerAssertionMock.called(:create)
  end
  
  def update
    Merb::Test::ControllerAssertionMock.called(:update)
  end
  
  def destroy
    Merb::Test::ControllerAssertionMock.called(:destroy)
  end  
end

module Namespaced
  class SpecHelperController < Merb::Controller
    def index
      Merb::Test::ControllerAssertionMock.called(:index)
    end
  end
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
thorero-0.9.4.5 spec/public/test/controllers/spec_helper_controller.rb
merb-core-0.9.3 spec/public/test/controllers/spec_helper_controller.rb
merb-core-0.9.4 spec/public/test/controllers/spec_helper_controller.rb
merb-core-0.9.5 spec/public/test/controllers/spec_helper_controller.rb
thorero-core-0.9.4.6 spec/public/test/controllers/spec_helper_controller.rb