Module: EacRailsBase0::Rspec::Setup

Defined in:
lib/eac_rails_base0/rspec/setup.rb

Class Method Summary collapse

Class Method Details

.extended(obj) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/eac_rails_base0/rspec/setup.rb', line 9

def self.extended(obj)
  return unless obj.rails_app_path

  %w[engines admin_user non_admin_user admin_example non_admin_example
     anonymous_example].each do |m|
    obj.send("setup_#{m}")
  end
end