Sha256: 5f59278f7abfa0da438cba7e9c4992f295dd12a3053e473c439eca98ee8a8c00

Contents?: true

Size: 420 Bytes

Versions: 4

Compression:

Stored size: 420 Bytes

Contents

require 'spec_helper'

describe GaExampleGem do
	describe '.new' do
		it "returns a GaExampleGem::Client" do
			expect(GaExampleGem.new).to be_a GaExampleGem::Client
		end
	end

	describe ".configure" do
    it "sets api_key" do
      GaExampleGem.configure do |config|
        config.api_key = "its a secret to everybody"
      end

      expect(GaExampleGem.api_key).to eq "its a secret to everybody"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ga_example_gem-0.0.4 spec/ga_example_gem_spec.rb
ga_example_gem-0.0.3 spec/ga_example_gem_spec.rb
ga_example_gem-0.0.2 spec/ga_example_gem_spec.rb
ga_example_gem-0.0.1 spec/ga_example_gem_spec.rb