]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/examples/pure/predicate_example.rb
fix node relations bug (thanks Dave!)
[rails.git] / vendor / gems / rspec-1.1.2 / examples / pure / predicate_example.rb
1 require File.dirname(__FILE__) + '/spec_helper'
2
3 class BddFramework
4   def intuitive?
5     true
6   end
7   
8   def adopted_quickly?
9     true
10   end
11 end
12
13 describe "BDD framework" do
14
15   before(:each) do
16     @bdd_framework = BddFramework.new
17   end
18
19   it "should be adopted quickly" do
20     @bdd_framework.should be_adopted_quickly
21   end
22   
23   it "should be intuitive" do
24     @bdd_framework.should be_intuitive
25   end
26
27 end