Skip to content

Commit

Permalink
Fix spec_files regression in RubyMotion 1.15. Sigh.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsynz committed Jul 5, 2012
1 parent 4ee94cc commit 3faed73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3faed73

Please sign in to comment.