Sha256: c343a47ec3dc1db27a10ec374e0ddcc3150f1838f53cfbd3fc5f5b7a612aa1df

Contents?: true

Size: 658 Bytes

Versions: 21

Compression:

Stored size: 658 Bytes

Contents

require File.expand_path("#{File.dirname(__FILE__)}/../spec_helper")

describe "RR" do
  before do
    Object.class_eval do
      def verify
        raise "Dont call me"
      end
    end
  end

  after do
    Object.class_eval do
      remove_method :verify
    end
  end

  it "has proxy methods for each method defined directly on Space" do
    space_instance_methods = RR::Space.instance_methods(false)
    space_instance_methods.should_not be_empty

    rr_instance_methods = RR.methods(false)
    space_instance_methods.each do |space_instance_method|
      expect(rr_instance_methods).to include(space_instance_method)
    end
    RR.verify
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rr-3.1.1 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.1.0 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.0.9 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.0.8 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.0.7 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.0.6 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.0.5 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.0.4 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.0.3 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.0.2 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.0.1 spec/suites/rspec_2/unit/rr_spec.rb
rr-3.0.0 spec/suites/rspec_2/unit/rr_spec.rb
rr-1.2.1 spec/suites/rspec_2/unit/rr_spec.rb
rr-1.2.0 spec/suites/rspec_2/unit/rr_spec.rb
rr-1.1.2 spec/suites/rspec_2/unit/rr_spec.rb
rr-1.1.2.rc1 spec/suites/rspec_2/unit/rr_spec.rb
rr-1.1.1.rc1 spec/suites/rspec_2/unit/rr_spec.rb
rr-1.1.0 spec/suites/rspec_2/unit/rr_spec.rb
rr-1.1.0.rc3 spec/suites/rspec_2/unit/rr_spec.rb
rr-1.1.0.rc2 spec/suites/rspec_2/unit/rr_spec.rb