changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/spec/autotest/discover_spec.rb

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
1require File.dirname(__FILE__) + "/../autotest_helper"
2
3module DiscoveryHelper
4 def load_discovery
5 require File.dirname(__FILE__) + "/../../lib/autotest/discover"
6 end
7end
8
9
10class Autotest
11 describe Rspec, "discovery" do
12 include DiscoveryHelper
13
14 it "should add the rspec autotest plugin" do
15 Autotest.should_receive(:add_discovery).and_yield
16 load_discovery
17 end
18 end
19end