Sha256: 6224cffcec4add9c410abc8179075cb5ec040cd6f2e4ed65fc7f298d303c8c91
Contents?: true
Size: 739 Bytes
Versions: 5
Compression:
Stored size: 739 Bytes
Contents
require File.join(File.dirname(__FILE__), 'test_helper.rb') class ExegesisTest < Test::Unit::TestCase context "designs directory" do context "setting custom" do before do @custom_design_dir = File.join(File.dirname(__FILE__), 'fixtures', 'designs') Exegesis.designs_directory = @custom_design_dir end expect { Exegesis.designs_directory.to_s.will == @custom_design_dir } end end context "database template" do before do @template_string = "http://localhost:5984/appname-%s" @account = "foo" Exegesis.database_template = @template_string end expect { Exegesis.database_for(@account).will == @template_string % @account } end end
Version data entries
5 entries across 5 versions & 1 rubygems