Permalink
Browse files

Changed: install directory. vendor/plugins -> plugins refs #1253

  • Loading branch information...
1 parent cd997c1 commit 4a379e5e68054cca9406ea7bc16f9a5a8eb36ac1 @suer suer committed Jul 28, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 lib/redbrew/formula.rb
  2. +2 −2 lib/redbrew/redmine_home.rb
  3. +1 −1 spec/redbrew/redmine_home_spec.rb
View
@@ -37,7 +37,7 @@ def exec(&p)
def run
# TODO check redmine_version
- fetcher = Fetcher.create(@type, @redmine_home.vendor_plugins, @uri)
+ fetcher = Fetcher.create(@type, @redmine_home.plugins_directory, @uri)
fetcher.fetch if fetcher
@proc.call if @proc
end
@@ -32,8 +32,8 @@ def tmp
"#{@redmine_home_path}/tmp/"
end
- def vendor_plugins
- @redmine_home_path + '/vendor/plugins/'
+ def plugins_directory
+ @redmine_home_path + '/plugins/'
end
private
@@ -21,7 +21,7 @@
context 'run with current path' do
subject { Redbrew::RedmineHome.new }
- its(:vendor_plugins) { should == './vendor/plugins/' }
+ its(:plugins_directory) { should == './plugins/' }
its(:tmp) { should == './tmp/' }
end
end

0 comments on commit 4a379e5

Please sign in to comment.