Sha256: b19855637c17c62bbf10e6d1f961ed2b9a0463f0df80330d219461f6535c4193

Contents?: true

Size: 475 Bytes

Versions: 3

Compression:

Stored size: 475 Bytes

Contents

require 'spec_helper'

module RevealCK
  module Templates
    describe RenderScope do

      let :quote_file do
        spec_data 'templates', 'render_scope', 'quote'
      end

      let :render_scope do
        RenderScope.new
      end

      describe '#contents_of' do
        it 'provides access to a file on the file system' do
          quote = render_scope.contents_of quote_file
          expect(quote).to include 'begin it'
        end
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reveal-ck-0.2.0 spec/lib/reveal-ck/templates/render_scope_spec.rb
reveal-ck-0.1.8 spec/lib/reveal-ck/templates/render_scope_spec.rb
reveal-ck-0.1.7 spec/lib/reveal-ck/templates/render_scope_spec.rb