Sha256: bd5c4efd2d52bda1738b3be836709b170efba7674f12aed5f0c1d533c923e38a
Contents?: true
Size: 754 Bytes
Versions: 3
Compression:
Stored size: 754 Bytes
Contents
require File.expand_path("test/test_helper.rb") class ThemesForRailsTest < Test::Unit::TestCase setup do @common = Object.new @common.extend ThemesForRails::CommonMethods @common.theme_name = "awesome" ThemesForRails.config.clear end should 'use config base_dir to build theme path' do ThemesForRails.config.base_dir ='some_path' assert_match /some_path/, @common.theme_path end should 'use config themes_dir to build theme path' do ThemesForRails.config.themes_dir ='skinner' assert_match /skinner/, @common.theme_path end should 'use config base_dir to build theme path for theme' do ThemesForRails.config.base_dir ='some_path' assert_match /some_path/, @common.theme_path_for('doodley') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
themes_for_rails-0.4.3 | test/lib/common_methods_test.rb |
themes_for_rails-0.4.2 | test/common_methods_test.rb |
themes_for_rails-0.4.1 | test/common_methods_test.rb |