aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/fixtures/plugins/default/stubby/init.rb
blob: 81beeb0d322b23ab176d48df73d018a3724c2bfa (plain) (blame)
1
2
3
4
5
6
7
# 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