Sha256: e0aaa45b35f42af286a3bd09be463657568afb4076eccc94c46007c863ac5116

Contents?: true

Size: 369 Bytes

Versions: 6

Compression:

Stored size: 369 Bytes

Contents

require 'spec_helper'

describe Tableficate::Utils do
  it 'should construct a path with no theme' do
    Tableficate::Utils::template_path('template.rb').should == 'tableficate/template.rb'
  end

  it 'should construct a path with a theme' do
    Tableficate::Utils::template_path('template.rb', 'futuristic').should == 'tableficate/futuristic/template.rb'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tableficate-0.2.1 spec/utils_spec.rb
tableficate-0.2.0 spec/utils_spec.rb
tableficate-0.1.3 spec/utils_spec.rb
tableficate-0.1.2 spec/utils_spec.rb
tableficate-0.1.1 spec/utils_spec.rb
tableficate-0.0.1 spec/utils_spec.rb