Sha256: 8aaf3e6d07ec07f9f244cf824d68214d26d8f3af0a1944257b52ec5936a6c88c

Contents?: true

Size: 407 Bytes

Versions: 43

Compression:

Stored size: 407 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

43 entries across 43 versions & 8 rubygems

Version Path
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/spec/autotest/discover_spec.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/spec/autotest/discover_spec.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/spec/autotest/discover_spec.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/spec/autotest/discover_spec.rb
deckshuffler-0.0.2 vendor/plugins/rspec/spec/autotest/discover_spec.rb
picolena-0.0.99 app_generators/picolena/templates/vendor/plugins/rspec/spec/autotest/discover_spec.rb
picolena-0.1.1 rails_plugins/rspec/spec/autotest/discover_spec.rb
picolena-0.1.0 rails_plugins/rspec/spec/autotest/discover_spec.rb
picolena-0.1.3 rails_plugins/rspec/spec/autotest/discover_spec.rb
picolena-0.1.2 rails_plugins/rspec/spec/autotest/discover_spec.rb
picolena-0.1.4 rails_plugins/rspec/spec/autotest/discover_spec.rb
picolena-0.1.5 rails_plugins/rspec/spec/autotest/discover_spec.rb
pictrails-0.5.0 vendor/plugins/rspec/spec/autotest/discover_spec.rb
radiant-0.6.5.1 vendor/plugins/rspec/spec/autotest/discover_spec.rb
radiant-0.6.5 vendor/plugins/rspec/spec/autotest/discover_spec.rb
radiant-0.6.7 vendor/plugins/rspec/spec/autotest/discover_spec.rb
radiant-0.6.6 vendor/plugins/rspec/spec/autotest/discover_spec.rb
radiant-0.6.9 vendor/plugins/rspec/spec/autotest/discover_spec.rb
radiant-0.6.8 vendor/plugins/rspec/spec/autotest/discover_spec.rb
rspec-0.0.10 spec/autotest/discover_spec.rb