Sha256: c3768a546292bd8efe1bd3f15a814457a3c0bc6cb03b4a4fec21ea5133426691
Contents?: true
Size: 550 Bytes
Versions: 4
Compression:
Stored size: 550 Bytes
Contents
require 'spec_helper' describe 'Grape::Rabl configuration' do context 'configuration' do it 'returns default values' do Grape::Rabl.configuration.cache_template_loading.should == false end it 'should set and reset configuration' do Grape::Rabl.configure do |config| config.cache_template_loading = true end Grape::Rabl.configuration.cache_template_loading.should be == true Grape::Rabl.reset_configuration! Grape::Rabl.configuration.cache_template_loading.should == false end end end
Version data entries
4 entries across 4 versions & 1 rubygems