Sha256: ed2dcaabf407f77e44b5d8ea87089cd447b4010a5988054c134d9133e933a386

Contents?: true

Size: 160 Bytes

Versions: 29

Compression:

Stored size: 160 Bytes

Contents

RSpec::Matchers.define :cache_instance_method do |method_name|

  match do |actual|
    described_class.cached_instance_methods.include?(method_name)
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
releaf-3.1.0 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-3.0.3 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-3.0.2 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-3.0.1 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-3.0.0 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-2.2.1 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-2.2.0 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-2.1.2 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-2.1.1 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-2.1.0 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-2.0.1 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-2.0.0 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-1.1.22 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-1.1.21 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-1.1.20 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-1.1.19 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-1.1.18 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-1.1.17 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-1.1.16 lib/releaf/rspec/matchers/cache_instance_method.rb
releaf-1.1.15 lib/releaf/rspec/matchers/cache_instance_method.rb