Commit adb053f1 authored by Eloy Durán's avatar Eloy Durán

Fix two warnings on Ruby 1.8.7. Closes #475.

parent 3e19b5ee
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
require File.expand_path('../lib/cocoapods', __FILE__) $:.unshift File.expand_path('../lib', __FILE__)
require 'cocoapods'
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "cocoapods" s.name = "cocoapods"
......
...@@ -358,7 +358,7 @@ describe Pod::LocalPod do ...@@ -358,7 +358,7 @@ describe Pod::LocalPod do
it "doesn't cleans the user files" do it "doesn't cleans the user files" do
useless_file = @local_path + 'useless.txt' useless_file = @local_path + 'useless.txt'
FileUtils.touch (useless_file) FileUtils.touch(useless_file)
@pod.root.should == @local_path @pod.root.should == @local_path
@pod.clean! @pod.clean!
useless_file.exist?.should.be.true useless_file.exist?.should.be.true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment