Skip to content

Commit

Permalink
correct path for rspec-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Oct 5, 2009
1 parent f902e19 commit 61ba570
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/rspec/git.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
module RSpec
class Git
def repos_fetched?
repos.all? {|s| File.directory?(s[:path]) }
repos.all? do |repo|
File.directory?(repo[:path]) ? true : (raise "missing #{repo[:path]}")
end
end

def update
Expand Down
2 changes: 1 addition & 1 deletion repos.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

:repos:
- :name: rspec-dev
:path: example_rails_app/vendor/plugins/rspec-dev
:path: .
:url : git://github.com/dchelimsky/rspec-dev.git
- :name: rspec
:path: example_rails_app/vendor/plugins/rspec
Expand Down

0 comments on commit 61ba570

Please sign in to comment.