Sha256: 7b88ec04fec6aeb8208be18500545e06637743e790670d29894dfabdbbc7c2f9

Contents?: true

Size: 1.19 KB

Versions: 6

Compression:

Stored size: 1.19 KB

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery
  
  include SpecHelper
  
  def pulse
    render :text => '1'
  end
  
  def should_have_valid_schema_action
    before_each false, true
    should_have_valid_schema
    render :text => '1'
  end
  
  def should_create_records_action
    before_each false, true
    should_create_records
    render :text => '1'
  end
  
  def should_migrate_record_and_preserve_deleted_at_action
    before_each false, true
    should_migrate_record_and_preserve_deleted_at
    render :text => '1'
  end
  
  def should_emulate_delete_all_action
    before_each false, true
    should_emulate_delete_all
    render :text => '1'
  end
  
  def should_move_records_back_to_original_tables_action
    before_each false, true
    should_move_records_back_to_original_tables(params[:type])
    render :text => '1'
  end
  
  def should_move_records_to_archive_tables_action
    before_each false, true
    should_move_records_to_archive_tables(params[:type])
    render :text => '1'
  end
  
  def should_delete_records_without_archiving_action
    before_each false, true
    should_delete_records_without_archiving(params[:type])
    render :text => '1'
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
acts_as_archive-0.4.1 spec/fixtures/frameworks/rails3/application_controller.rb
rylwin-acts_as_archive-0.4.0 spec/fixtures/frameworks/rails3/application_controller.rb
acts_as_archive-0.4.0 spec/fixtures/frameworks/rails3/application_controller.rb
acts_as_archive-0.3.4 spec/fixtures/frameworks/rails3/application_controller.rb
acts_as_archive-0.3.3 spec/fixtures/frameworks/rails3/application_controller.rb
acts_as_archive-0.3.2 spec/fixtures/frameworks/rails3/application_controller.rb