1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

Change spec wording

This commit is contained in:
ignisf 2014-06-15 14:50:17 +03:00
parent 7b185f47c2
commit f142f28254

View file

@ -4,17 +4,17 @@ require 'compiler'
module Libv8
describe Compiler do
describe '::type_of' do
it 'returns a GCC class for GCC 4.9.0' do
it 'recognises correctly GCC' do
stub_as_available 'c++', :gcc, '4.9.0'
Compiler.available_compilers('c++').first.should be_a Compiler::GCC
end
it 'returns a Clang class for Clang 3.4.1' do
it 'recognises correctly Clang' do
stub_as_available 'c++', :clang, '3.4.1'
Compiler.available_compilers('c++').first.should be_a Compiler::Clang
end
it 'recognises Apple\'s LLVM' do
it 'recognises correctly Apple\'s LLVM' do
stub_as_available 'c++', :apple_llvm, '5.1'
Compiler.available_compilers('c++').first.should be_a Compiler::AppleLLVM
end