Permalink
Browse files

Fix spec_files regression in RubyMotion 1.15. Sigh.

  • Loading branch information...
1 parent 4ee94cc commit 3faed73bc1481b00329b311734238d5157afcdbd @jamesotron jamesotron committed Jul 5, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 Rakefile
View
@@ -10,7 +10,11 @@ require 'bubble-wrap/test'
Motion::Project::App.setup do |app|
app.name = 'testSuite'
app.identifier = 'io.bubblewrap.testSuite'
- app.specs_dir = './spec/motion'
+ app.specs_dir = './spec/motion/'
+ # Hold your breath, we're going API spelunking!
+ spec_files = app.spec_files + Dir.glob(File.join(app.specs_dir, '**/*.rb'))
+ spec_files.uniq!
+ app.instance_variable_set(:@spec_files, spec_files)
end
namespace :spec do

0 comments on commit 3faed73

Please sign in to comment.