Sha256: b66a9ad668f6748ed2e4faade4e30c1080d1137e46c51deeae769b3e7b88b946

Contents?: true

Size: 559 Bytes

Versions: 3

Compression:

Stored size: 559 Bytes

Contents

require 'spec_helper'

describe Rack::Gyazo do
  let(:configuration) do
    {
      :adapter               => :fog,
      :bucket                => "some_bucket",
      :adapter_options       => {
        :provider              => :aws,
        :aws_access_key        => "access_key",
        :aws_secret_access_key => "secret_key"
      }
    }
  end
  it "allows me to configure arbitrary options" do
    Rack::Gyazo.configure_with(configuration)
  end

  it "defaults to a blank configuration" do
    Rack::Gyazo.configuration.should_not be_nil
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rack_gyazo-0.1.2 spec/rack/gyazo_spec.rb
rack_gyazo-0.1.1 spec/rack/gyazo_spec.rb
rack_gyazo-0.1.0 spec/rack/gyazo_spec.rb