Sha256: f5c09c05876d7379185ff41dd3dfaaa623b1c5f0974a8d93b717d5507f4b3c52

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

rspec do
  def self.with_view_path *args
    list = if args.first.is_a? Array
      args.first
    else
      args
    end
    
    before(:all){list.each{|path| Rad::Template.paths << path}}
    after(:all){list.each{|path| Rad::Template.paths.delete path}}
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_core-0.0.13 lib/rad/spec/template.rb