Sha256: 1ce5c8b4c0cb81566f67ffc7df60fd739eeef97f704a32d6b649008fc727697a
Contents?: true
Size: 424 Bytes
Versions: 4
Compression:
Stored size: 424 Bytes
Contents
require 'spec_helper' describe Saddle::BaseEndpoint do let(:base_endpoint) { Saddle::BaseEndpoint.new(Saddle::Client.create) } it 'can define singleton methods' do expect(base_endpoint.respond_to?(:define_singleton_method)).to be_true end it 'responds to any defined singleton methods' do base_endpoint.define_singleton_method(:my_method) { true } expect(base_endpoint.my_method).to be_true end end
Version data entries
4 entries across 4 versions & 1 rubygems