mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Merge pull request #230 from gerrywastaken/fix-nobrainer-spec-config
Configure NoBrainer to use the test environment
This commit is contained in:
commit
287f44d833
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,10 @@ RSpec.describe "AwesomePrint/NoBrainer", skip: ->{ !ExtVerifier.has_nobrainer? }
|
||||||
|
|
||||||
if ExtVerifier.has_nobrainer?
|
if ExtVerifier.has_nobrainer?
|
||||||
before :all do
|
before :all do
|
||||||
NoBrainer.configure { |c| c.app_name = "ap_test" }
|
NoBrainer.configure do |config|
|
||||||
|
config.app_name = "ap_test"
|
||||||
|
config.environment = :test
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
before :all do
|
before :all do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue