Sha256: a0479b0cf9fc8ae2538777a66d84ed83ab8ab349caaa94bf84ce4519e2761206

Contents?: true

Size: 254 Bytes

Versions: 6

Compression:

Stored size: 254 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 { DummyApi.should have(2).middlewares }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
goliath-1.0.4 spec/unit/api_spec.rb
goliath-1.0.3 spec/unit/api_spec.rb
goliath-1.0.2 spec/unit/api_spec.rb
goliath-1.0.1 spec/unit/api_spec.rb
goliath-1.0.0 spec/unit/api_spec.rb
goliath-1.0.0.beta.1 spec/unit/api_spec.rb