Sha256: 1fbcfb30fc776f2b985a4c94ffff134bcef82c3feb6aa969e216f987d2891f80
Contents?: true
Size: 649 Bytes
Versions: 3
Compression:
Stored size: 649 Bytes
Contents
require "spec_helper" describe Yummly::Configuration do subject { Yummly::Configuration.new } specify { subject.should respond_to(:app_key) } specify { subject.should respond_to(:app_id) } describe "http_adapter" do specify { subject.http_adapter.should == Yummly::FaradayAdapter } context "when set" do before { subject.http_adapter = String } specify {subject.http_adapter.should == String} end end describe "#use_ssl?" do specify { subject.use_ssl?.should be_false } context "when set" do before { subject.use_ssl = true } specify { subject.use_ssl?.should be_true } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yummly-0.0.13 | spec/configuration_spec.rb |
yummly-0.0.12 | spec/configuration_spec.rb |
yummly-0.0.11 | spec/configuration_spec.rb |