spec/project_spec.rb in dev_projects-0.0.21 vs spec/project_spec.rb in dev_projects-0.0.22
- old
+ new
@@ -14,9 +14,14 @@
project[:uri]='https://github.com/lou-parslow/dev_projects.gem.git'
unique_id = project.get_latest_unique_id
expect(unique_id.length).to eq(40)
end
- it "should be able to report its build commands" do
-
+ it "should be able to rake" do
+ project=Project.new( :url => 'https://github.com/lou-parslow/dev_git.gem.git', :name => 'test/dev_git.gem')
+ project.clone
+ expect(File.exists?(project.wrk_dir)).to eq(true)
+
+ FileUtils.rm_r(project.wrk_dir)
+ expect(File.exists?(project.wrk_dir)).to eq(false)
end
end
\ No newline at end of file