1
0
Fork 0
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:
Gerry 2016-05-10 17:04:07 +10:00
commit 287f44d833

View file

@ -4,7 +4,10 @@ RSpec.describe "AwesomePrint/NoBrainer", skip: ->{ !ExtVerifier.has_nobrainer? }
if ExtVerifier.has_nobrainer?
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
before :all do