Sha256: fce6a2dc3cb136c269483d363b1e7e33397c76e81d0e33858745176a8c2cb13f
Contents?: true
Size: 614 Bytes
Versions: 1
Compression:
Stored size: 614 Bytes
Contents
# frozen_string_literal: true module Fizzy module Api module Endpoints shared_examples_for 'an endpoint' do it 'should define a process response method' do expect(subject.methods).to include(:process_response) end it 'should define an invalid response method' do methods = subject.private_methods + subject.methods expect(methods).to include(:invalid_response) end it 'should define a select_measurement_text method' do expect(subject.methods).to include(:select_measurement_text) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fizzy-api-0.1.5 | spec/shared_examples_for_endpoints.rb |