Sha256: 7e35f2eec25b0854c21d2c41d06bf673481e49d92da2f4920cd37203ef88e253
Contents?: true
Size: 695 Bytes
Versions: 12
Compression:
Stored size: 695 Bytes
Contents
require 'spec_helper' require 'compiler' module Libv8::Compiler describe AppleLLVM do subject { AppleLLVM.new 'c++' } describe '#name' do it 'returns Apple LLVM' do expect(subject.name).to eq 'Apple LLVM' end end describe '#version' do it 'returns the version of the compiler' do stub_as_available 'c++', :apple_llvm, '5.1' expect(subject.version).to eq '5.1' end end describe '#compatible?' do context 'when Apple LLVM\'s version is >= 4.3' do it 'returns true' do stub_as_available 'c++', :apple_llvm, '5.1' expect(subject).to be_compatible end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems