module Alki::Alki::Test
Private Class Methods
app(&blk)
click to toggle source
# File lib/alki/feature_test.rb, line 15 def app(&blk) feature_exec do define_method(:app,&blk) end end
feature_exec(&blk)
click to toggle source
# File lib/alki/feature_test.rb, line 11 def feature_exec(&blk) Alki::FeatureSpec.class_exec(&blk) end
Private Instance Methods
app_root()
click to toggle source
# File lib/alki/test.rb, line 11 def app_root Bundler.root end
fixture_path(*fixture)
click to toggle source
# File lib/alki/test.rb, line 27 def fixture_path(*fixture) File.join fixtures_path, *fixture end
fixtures_path()
click to toggle source
# File lib/alki/test.rb, line 23 def fixtures_path File.join tests_root, 'fixtures' end
lib_dir()
click to toggle source
# File lib/alki/test.rb, line 15 def lib_dir File.join app_root, 'lib' end
tests_root()
click to toggle source
# File lib/alki/test.rb, line 19 def tests_root File.join app_root, 'test' end