Sha256: e865a37fe53f454b614209f3e0741837d349e9ad0f556ad4160467444fd2f522
Contents?: true
Size: 287 Bytes
Versions: 2
Compression:
Stored size: 287 Bytes
Contents
# frozen_string_literal: true describe '.configure' do before do Grape.configure do |config| config.param_builder = 42 end end after do Grape.config.reset end it 'is configured to the new value' do expect(Grape.config.param_builder).to eq 42 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grape-1.7.1 | spec/grape/config_spec.rb |
grape-1.7.0 | spec/grape/config_spec.rb |