Update samples import paths

This commit is contained in:
Justin Li
2014-10-30 11:22:53 -04:00
parent 68550127c1
commit a13856d4d0
7 changed files with 11 additions and 11 deletions

View File

@@ -139,13 +139,13 @@ func TestTypeExpr(t *testing.T) {
}
func TestProcessBookingSource(t *testing.T) {
revel.Init("prod", "github.com/revel/revel/samples/booking", "")
revel.Init("prod", "github.com/revel/samples/booking", "")
sourceInfo, err := ProcessSource([]string{revel.AppPath})
if err != nil {
t.Fatal("Failed to process booking source with error:", err)
}
CONTROLLER_PKG := "github.com/revel/revel/samples/booking/app/controllers"
CONTROLLER_PKG := "github.com/revel/samples/booking/app/controllers"
expectedControllerSpecs := []*TypeInfo{
{"GorpController", CONTROLLER_PKG, "controllers", nil, nil},
{"Application", CONTROLLER_PKG, "controllers", nil, nil},
@@ -177,7 +177,7 @@ NEXT_TEST:
}
func BenchmarkProcessBookingSource(b *testing.B) {
revel.Init("", "github.com/revel/revel/samples/booking", "")
revel.Init("", "github.com/revel/samples/booking", "")
revel.TRACE = log.New(ioutil.Discard, "", 0)
b.ResetTimer()