spec/inflector_spec.rb in active_git-0.0.8 vs spec/inflector_spec.rb in active_git-0.0.9

- old
+ new

@@ -1,8 +1,17 @@ require 'spec_helper' describe ActiveGit::Inflector do + before :each do + @file_helper = FileHelper.new + ActiveGit.configuration.working_path = @file_helper.create_temp_folder + end + + after :each do + @file_helper.remove_temp_folders + end + let(:working_path) { '/home/git' } it 'Git path' do ActiveGit::Inflector.dirname(Country, working_path).should eq "#{working_path}/countries" end \ No newline at end of file