1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/fixtures/plugins/default/stubby/init.rb

7 lines
335 B
Ruby

# I have access to my directory and the Rails config.
raise 'directory expected but undefined in init.rb' unless defined? directory
raise 'config expected but undefined in init.rb' unless defined? config
# My lib/ dir must be in the load path.
require 'stubby_mixin'
raise 'missing mixin from my lib/ dir' unless defined? StubbyMixin