Sha256: 505761b9a4c5b5bcd4dea7a98c21a6d93c107ccdfdb8e65e4323ad74da1b1eb3
Contents?: true
Size: 540 Bytes
Versions: 9
Compression:
Stored size: 540 Bytes
Contents
require "spec_helper" describe Yummly do subject { Yummly::Configuration.new } describe ".configure" do let(:app_id) { "12345" } let(:app_key) { "XEARSGSTH12345789" } before do Yummly.configure do |config| config.use_ssl = true config.app_id = app_id config.app_key = app_key end end specify { Yummly.configuration.use_ssl?.should be_true } specify { Yummly.configuration.app_id.should == app_id } specify { Yummly.configuration.app_key.should == app_key } end end
Version data entries
9 entries across 9 versions & 1 rubygems