Sha256: 75cac5156460dbb0ae0d1318d5955fc46846db9f6706661a11caef4b1df65baf
Contents?: true
Size: 462 Bytes
Versions: 8
Compression:
Stored size: 462 Bytes
Contents
require "spec_helper" class Rails def self.root '/path/to/rails' end end describe Rescpos::Configuration do it "has a default template path app/escposes" do Rescpos.configuration.template_path.should == File.join(Rails.root, "app/escposes") end it "could set the path of templates" do Rescpos.configure do |config| config.template_path = "templates" end Rescpos.configuration.template_path.should == "templates" end end
Version data entries
8 entries across 8 versions & 1 rubygems