Sha256: d56a2a3f50143b29eacfc1b752c205a79df8c0437a3e8067f38f64c57749dd37
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
root = File.dirname(__FILE__) + '/../' require File.join(root, 'lib', 'android') require File.join(root, 'lib', 'andrake') require 'spec' require File.dirname(__FILE__) + '/custom_matcher' Spec::Runner.configure do |config| # Spec Helper methods def root File.dirname(__FILE__) + '/../' end def example_dir File.join root, 'examples' end def examples Dir[ File.join(example_dir, '*/*') ].directories end def android_examples Dir[ File.join(example_dir, 'android', '*') ].directories end def andrake_examples Dir[ File.join(example_dir, 'andrake', '*') ].directories end def android_example name File.join example_dir, 'android', name.to_s end def andrake_example name File.join example_dir, 'andrake', name.to_s end def print_spec_helpers %w( root example_dir examples android_examples andrake_examples ).each do |method| puts "#{method} => #{send(method).inspect}" end end # Matchers matcher(:build_ok) do |app| app.build.should == true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
remi-andrake-0.1.0 | spec/spec_helper.rb |