Sha256: 24eb908d2ced36096e67d0e360b04717b04b171c4d95d5730b3e209be5e26d5d
Contents?: true
Size: 336 Bytes
Versions: 8
Compression:
Stored size: 336 Bytes
Contents
require 'spec_helper' describe Stylus::Runtime do it 'raises an error if the runtime is not available' do allow(Stylus).to receive(:runtime) { double('An unavailable Runtime', available?: false) } expect { Stylus.version }.to raise_error RuntimeError, %r[The Node.JS runtime is not available to Stylus.] end end
Version data entries
8 entries across 8 versions & 3 rubygems