Sha256: c415efaea7e8ac2a7c1d545fbe8d757d5d9e72bc7a8601e04494d39d9c4ecafd
Contents?: true
Size: 813 Bytes
Versions: 2
Compression:
Stored size: 813 Bytes
Contents
require './spec/support/samples/application_helper' module ActionController class AbstractController def view_context @view_context ||= ApplicationController end def view_context=(input) @view_context = input end end class Base < AbstractController @@before_filters = [] def self.before_filters @@before_filters end def self.before_filter(name) @@before_filters << name end end end class ApplicationController < ActionController::Base extend ActionView::Helpers extend ActionView::Helpers::TagHelper extend ActionView::Helpers::UrlHelper extend ApplicationHelper def self.hello "Hello!" end def self.capture(&block) @@capture = true block.call end def self.capture_triggered @@capture ||= false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
draper-0.17.0 | spec/support/samples/application_controller.rb |
draper-0.16.0 | spec/support/samples/application_controller.rb |