Sha256: 5119e1373e8244127d729d922776a4161ce1b8ce5f35902b032229e7c669b63c

Contents?: true

Size: 261 Bytes

Versions: 2

Compression:

Stored size: 261 Bytes

Contents

require 'spec_helper'
require 'goliath/api'

describe Goliath::API do

  DummyApi = Class.new(Goliath::API)

  describe "middlewares" do
    it "doesn't change after multi calls" do
      2.times { expect(DummyApi.middlewares.size).to eq(2) }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
goliath-1.0.7 spec/unit/api_spec.rb
goliath-1.0.6 spec/unit/api_spec.rb