Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Add #adapter and #repository methods to adapter shared specs
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubb committed Jul 9, 2013
1 parent de94b19 commit 7cc4c14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dm-core/spec/lib/adapter_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def with_alternate_adapter(&block)

def describe_adapter(kind, &block)
describe("with #{kind} adapter") do
let(:adapter) { @adapter }
let(:repository) { @repository }

before :all do
# store these in instance vars for the shared adapter specs
Expand Down

0 comments on commit 7cc4c14

Please sign in to comment.