test/initializations/railtie_test.rb in ecrire-0.22.1 vs test/initializations/railtie_test.rb in ecrire-0.23.0
- old
+ new
@@ -12,11 +12,11 @@
Ecrire::Application.initialize!
assert Ecrire::Railtie.include?(Ecrire::Railtie::Onboarding)
assert !Ecrire::Railtie.include?(Ecrire::Railtie::Theme)
end
- test 'not configured if no user is present in the database' do
- Dir.chdir 'test/themes/template' do
+ test 'load the normal railtie if a secrets.yml can be found' do
+ Dir.chdir 'test/themes/onboarding' do
require 'ecrire'
Ecrire::Application.initialize!
assert Ecrire::Railtie.include?(Ecrire::Railtie::Onboarding)