spec/invoker/power/setup/linux_setup_spec.rb in invoker-1.5.7 vs spec/invoker/power/setup/linux_setup_spec.rb in invoker-1.5.8
- old
+ new
@@ -145,10 +145,10 @@
describe Invoker::Power::Distro::Base, docker: true do
describe '.distro_installer' do
it 'correctly recognizes the current distro' do
case ENV['DISTRO']
- when 'archlinux/base', 'manjarolinux/base'
+ when 'archlinux', 'manjarolinux/base'
expect(described_class.distro_installer('')).to be_a Invoker::Power::Distro::Arch
when 'debian'
expect(described_class.distro_installer('')).to be_a Invoker::Power::Distro::Debian
when 'fedora'
expect(described_class.distro_installer('')).to be_a Invoker::Power::Distro::Redhat