spec/webmachine/actionview/configuration_spec.rb in webmachine-actionview-0.0.1 vs spec/webmachine/actionview/configuration_spec.rb in webmachine-actionview-0.0.2
- old
+ new
@@ -7,14 +7,16 @@
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
\ No newline at end of file