Permalink
Browse files

Fix specs for changes in builtin structure

  • Loading branch information...
1 parent 657edbe commit 9d6ccfdeadb80d5d4096b5063c7fd010b16459a8 @wycats wycats committed Aug 20, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/lib/models/project/load_nearest_project_spec.rb
  2. +1 −1 spec/spec_helper.rb
View
2 spec/lib/models/project/load_nearest_project_spec.rb
@@ -9,7 +9,7 @@
# source directory contains a Buildfile, the _proper_ result here is to
# actually return the top-level directory...
project = SC::Project.load_nearest_project fixture_path('buildfiles', 'basic')
- project.project_root.should eql(fixture_path('..', '..'))
+ project.project_root.should eql(fixture_path("buildfiles", "basic"))
end
it "should stop if it finds a Buildfile with project! set" do
View
2 spec/spec_helper.rb
@@ -60,7 +60,7 @@ def empty_project
# The builtin project (i.e. default Buildfile)
def builtin_project
- SC::Project.new fixture_path('..','..')
+ SC::Project.new fixture_path('..','..','lib')
end
# Loads a project from fixtures, including the builtin project as

0 comments on commit 9d6ccfd

Please sign in to comment.