Sha256: 3fddc6eb10e3a6657112fe726948994e6fe8386b46baadae878072b4a901fe51
Contents?: true
Size: 758 Bytes
Versions: 20
Compression:
Stored size: 758 Bytes
Contents
require 'spec_helper' module RevealCK module Builders describe RevealJsFiles do describe '#all' do let :dir do File.join(Dir.pwd, 'reveal.js') end let :reveal_js_files do RevealJsFiles.new(dir: dir) end describe '#files' do it 'it names all of the needed reveal.js files' do reveal_css = reveal_js_files.files.select do |file| file.include?('css/reveal.css') end expect(reveal_css.size).to eq 1 end end describe '#dir' do it 'it names the directory where the files can be found' do expect(reveal_js_files.dir).to eq dir end end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems