Skip to content

Commit

Permalink
Strings and Pathnames are mixed into one array and we can't call .joi…
Browse files Browse the repository at this point in the history
…n on string.
  • Loading branch information
ugisozols committed Nov 7, 2011
1 parent 359aeb5 commit 277cbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def each_run
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories including factories.
([ENGINE_RAILS_ROOT, Rails.root.to_s].uniq | ::Refinery::Plugins.registered.pathnames).map{|p|
Dir[p.join('spec', 'support', '**', '*.rb').to_s]
Dir[File.join(p, 'spec', 'support', '**', '*.rb').to_s]
}.flatten.sort.each do |support_file|
require support_file
end
Expand Down

0 comments on commit 277cbc2

Please sign in to comment.