Sha256: 8e95416dad45de79a8e0c3bf07cc7fde2203925daaf6bbfa0e26d95fa5a7be06
Contents?: true
Size: 558 Bytes
Versions: 18
Compression:
Stored size: 558 Bytes
Contents
describe Rake::Funnel::Support::Mapper::Styles::NUnit do subject { Mapper.new(:NUnit) } describe 'prefix' do before { allow(Rake::Win32).to receive(:windows?).and_return(windows?) } context 'on Windows' do let(:windows?) { true } it "should use '/'" do expect(subject.map({ switch: nil })).to eq(['/switch']) end end context 'not on Windows' do let(:windows?) { false } it "should use '-'" do expect(subject.map({ switch: nil })).to eq(['-switch']) end end end end
Version data entries
18 entries across 18 versions & 1 rubygems