Permalink
Browse files

add ci/geminstaller.yml as default config file location - fixes http:…

  • Loading branch information...
thewoolleyman committed Aug 25, 2009
1 parent a807985 commit 83e587584663773fb6722e50e63c9e0c74f4909f
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/geminstaller/config_builder.rb
  2. +1 −1 spec/functional/config_builder_spec.rb
@@ -6,7 +6,7 @@ class ConfigBuilder
attr_reader :config_file_paths_array
attr_writer :file_reader, :yaml_loader, :config_file_paths, :output_filter

def initialize(default_config_file_paths_array = ['geminstaller.yml','config/geminstaller.yml'])
def initialize(default_config_file_paths_array = ['geminstaller.yml','config/geminstaller.yml','ci/geminstaller.yml'])
@default_config_file_paths_array = default_config_file_paths_array
end

@@ -22,7 +22,7 @@
end

it "should assign paths array to config_file_paths_array instance variable" do
@config_builder.config_file_paths_array.should==(['geminstaller.yml','config/geminstaller.yml'])
@config_builder.config_file_paths_array.should==(['geminstaller.yml','config/geminstaller.yml','ci/geminstaller.yml'])
end
end

0 comments on commit 83e5875

Please sign in to comment.