Sha256: 3d9367314fc38bbbaf3e07d9463bedec9728d67b68dd879590801831d5ae7e0b
Contents?: true
Size: 536 Bytes
Versions: 4
Compression:
Stored size: 536 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', 'spec_helper') describe Relax::Context do it "utilizes a custom parser for Class parsers" do service = CustomParserService.new service.test.should == 'parsed' end it "allows parameters with aliases" do service = ParameterAliasService.new service.test(:api_key => 'secret')[:stat].should == 'ok' end it "allows blank parameters values" do service = BlankValuesService.new({}, :include_blank_values => true) service.test[:stat].should == 'ok' end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
tylerhunt-relax-0.1.2 | spec/relax/context_spec.rb |
tylerhunt-relax-0.1.3 | spec/relax/context_spec.rb |
relax-0.1.3 | spec/relax/context_spec.rb |
relax-0.1.2 | spec/relax/context_spec.rb |