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

Version Path
yummly-0.0.9 spec/yummly_spec.rb
yummly-0.0.8 spec/yummly_spec.rb
yummly-0.0.7 spec/yummly_spec.rb
yummly-0.0.6 spec/yummly_spec.rb
yummly-0.0.5 spec/yummly_spec.rb
yummly-0.0.4 spec/yummly_spec.rb
yummly-0.0.3 spec/yummly_spec.rb
yummly-0.0.2 spec/yummly_spec.rb
yummly-0.0.1 spec/yummly_spec.rb