Sha256: c31fe550133138bdb1e3b5af51d39a54b127a23751f5102216bc9dcb18faf9b5

Contents?: true

Size: 404 Bytes

Versions: 17

Compression:

Stored size: 404 Bytes

Contents

require File.dirname(__FILE__) + "/autotest_helper"

module DiscoveryHelper
  def load_discovery
    require File.dirname(__FILE__) + "/../../lib/autotest/discover"
  end
end


class Autotest
  describe Rspec, "discovery" do
    include DiscoveryHelper
    
    it "should add the rspec autotest plugin" do
      Autotest.should_receive(:add_discovery).and_yield
      load_discovery
    end
  end  
end

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
dchelimsky-rspec-1.1.10 spec/autotest/discover_spec.rb
dchelimsky-rspec-1.1.11 spec/autotest/discover_spec.rb
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/autotest/discover_spec.rb
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/autotest/discover_spec.rb
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/autotest/discover_spec.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/autotest/discover_spec.rb
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/autotest/discover_spec.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/spec/autotest/discover_spec.rb
mack-0.8.2 lib/gems/rspec-1.1.11/spec/autotest/discover_spec.rb
rspec-1.1.10 spec/autotest/discover_spec.rb
rspec-1.1.11 spec/autotest/discover_spec.rb
rspec-1.1.6 spec/autotest/discover_spec.rb
rspec-1.1.7 spec/autotest/discover_spec.rb
rspec-1.1.8 spec/autotest/discover_spec.rb
rspec-1.1.9 spec/autotest/discover_spec.rb
typo-5.1.98 vendor/plugins/rspec/spec/autotest/discover_spec.rb
typo-5.2 vendor/plugins/rspec/spec/autotest/discover_spec.rb