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

Commit

Permalink
Use ROM::Configuration in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoCaso committed Apr 27, 2017
1 parent 994f168 commit 486d2ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/unit/rom/mapper/configuration_plugin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

RSpec.describe ROM::Mapper::ConfigurationPlugin do
subject(:configuration) do
ROM::Mapper::ConfigurationPlugin.apply(ROM_CONFIGURATION.new)
ROM::Mapper::ConfigurationPlugin.apply(ROM::Configuration.new(:memory))
end

context "Interface" do
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/rom/mapper/mapper_dsl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

RSpec.describe ROM::Mapper::MapperDSL do
subject(:mapper_dsl) do
ROM::Mapper::MapperDSL.new(ROM_CONFIGURATION.new, [], block)
ROM::Mapper::MapperDSL.new(ROM::Configuration.new(:memory), [], block)
end

let(:block) do
Expand Down

0 comments on commit 486d2ca

Please sign in to comment.