spec/firebrew/firefox/profile_spec.rb in firebrew-0.1.0 vs spec/firebrew/firefox/profile_spec.rb in firebrew-0.1.1
- old
+ new
@@ -31,10 +31,10 @@
expect(subject[1].name).to eq('other_profile')
expect(subject[1].path).to eq(File.expand_path File.join(self.base_dir, 'Profiles/efgh.other_profile'))
expect(subject[1].is_default).to be_falsey
expect(subject[2].name).to eq('abs_profile')
- expect(subject[2].path).to eq('/path/to/abs_profile')
+ expect(subject[2].path).to eq(File.expand_path('/path/to/abs_profile'))
expect(subject[2].is_default).to be_falsey
end
context 'when profiles were empty' do
let(:data_file){'empty.ini'}