Sha256: 8c0e169517607393c2fbad1876e1b1bd1dcef13d29671b71387dba1e66d75340
Contents?: true
Size: 745 Bytes
Versions: 25
Compression:
Stored size: 745 Bytes
Contents
require 'spec_helper' describe RevealCK do describe '.path' do it 'provides the location of any file stored within the gem' do index_html_erb = RevealCK.path('files', 'reveal-ck', 'templates', 'index.html', 'index.html.erb') content = File.open(index_html_erb).read expect(content).to be_a String end end describe '.template_path' do it 'provides the location of templates within the gem' do index_html_erb = RevealCK.template_path('index.html', 'index.html.erb') content = File.open(index_html_erb).read expect(content).to be_a String end end end
Version data entries
25 entries across 25 versions & 1 rubygems