Sha256: f23ed453232231ba1fa4d1901bbf0d7b09f1c00d424c8c5d92cd332ef4fb14f5
Contents?: true
Size: 604 Bytes
Versions: 2
Compression:
Stored size: 604 Bytes
Contents
require 'spec_helper' describe Webmachine::ActionView::Configuration do describe "Configuring" do let(:paths) { ['somewhere/over/the/rainbow'] } let(:handlers) { ['erb', 'slim', 'haml'] } before do Webmachine::ActionView.configure do |c| c.view_paths = paths c.handlers = handlers c.default_layout = 'layouts/some_default' end end subject(:config) { Webmachine::ActionView.config } its(:view_paths) { should eql(paths) } its(:handlers) { should eql(handlers) } its(:default_layout) { should eql('layouts/some_default') } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webmachine-actionview-0.0.3 | spec/webmachine/actionview/configuration_spec.rb |
webmachine-actionview-0.0.2 | spec/webmachine/actionview/configuration_spec.rb |