Sha256: 5a9865f404adf0f21152f22103de6fd06a21be1a35666ea402543df5738bfb1d

Contents?: true

Size: 499 Bytes

Versions: 3

Compression:

Stored size: 499 Bytes

Contents

require "spec_helper"

describe Yummly do

  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

3 entries across 3 versions & 1 rubygems

Version Path
yummly-0.0.13 spec/yummly_spec.rb
yummly-0.0.12 spec/yummly_spec.rb
yummly-0.0.11 spec/yummly_spec.rb