ipld-eth-server/pkg/repositories/in_memory_test.go

18 lines
417 B
Go
Raw Normal View History

2017-11-13 21:42:07 +00:00
package repositories_test
import (
"github.com/8thlight/vulcanizedb/pkg/core"
2017-11-13 21:42:07 +00:00
"github.com/8thlight/vulcanizedb/pkg/repositories"
"github.com/8thlight/vulcanizedb/pkg/repositories/testing"
_ "github.com/lib/pq"
. "github.com/onsi/ginkgo"
)
var _ = Describe("In memory repository", func() {
testing.AssertRepositoryBehavior(func(core.Node) repositories.Repository {
2017-11-13 21:42:07 +00:00
return repositories.NewInMemory()
})
})