tests seed
This commit is contained in:
parent
035196e7a8
commit
d7ea9052f1
3 changed files with 10 additions and 7 deletions
|
@ -38,7 +38,7 @@ describe Project do
|
|||
|
||||
it "should return path to repo" do
|
||||
project = Project.new(:path => "somewhere")
|
||||
project.path_to_repo.should == "/tmp/somewhere"
|
||||
project.path_to_repo.should == File.join(Rails.root, "tmp", "tests", "somewhere")
|
||||
end
|
||||
|
||||
describe :valid_repo? do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue