Sha256: 674d5cdbb381f066dc408d3754f52bfe147cee4feea21c488b4099c500a8e12e

Contents?: true

Size: 401 Bytes

Versions: 3

Compression:

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

3 entries across 3 versions & 1 rubygems

Version Path
picolena-0.1.6 rails_plugins/rspec/spec/autotest/discover_spec.rb
picolena-0.1.7 rails_plugins/rspec/spec/autotest/discover_spec.rb
picolena-0.1.8 rails_plugins/rspec/spec/autotest/discover_spec.rb