Skip to content

Commit

Permalink
Merge pull request #58 from projecthydra/mjgiarlo-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
jcoyne authored Jan 6, 2017
2 parents d18e8f3 + 686bd48 commit 303c14a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ Using the database-backed minter can cause problems with your test suite, where
require 'active_fedora/noid/rspec'

RSpec.configure do |config|
config.include(ActiveFedora::Noid::RSpec)
end
include ActiveFedora::Noid::RSpec

before(:suite) { disable_production_minter! }
after(:suite) { enable_production_minter! }
config.before(:suite) { disable_production_minter! }
config.after(:suite) { enable_production_minter! }
end
```

If you switch to the new database-backed minter and want to include in that minter the state of your current file-backed minter, AF::Noid 2.0.0 provides a new rake task that will copy your minter's state from the filesystem to the database:
Expand Down
2 changes: 1 addition & 1 deletion active_fedora-noid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec', '~> 3.2'
spec.add_development_dependency 'sqlite3'
spec.add_development_dependency 'rubocop', '~> 0.42.0'
spec.add_development_dependency 'rubocop-rspec', '~> 1.5'
spec.add_development_dependency 'rubocop-rspec', '~> 1.8.0'
spec.add_development_dependency 'engine_cart', '~> 1.0'
end

0 comments on commit 303c14a

Please # to comment.