spec/unit/a9n_spec.rb in a9n-0.9.1 vs spec/unit/a9n_spec.rb in a9n-0.10.0

- old
+ new

@@ -125,20 +125,10 @@ end end context 'when app is not set' do it do - expect(subject.root).to eq(nil) - end - - context 'when setting a custom path when is falsy' do - before do - subject.root ||= '/home/knapo/workspace/a9n' - end - - it do - expect(subject.root).to eq(Pathname.new('/home/knapo/workspace/a9n')) - end + expect(subject.root).to eq(A9n.root_from_bundle_env) end context 'when setting a custom path' do before do subject.root = '/home/knapo/workspace/a9n'