Upgraded Rails and RSpec
[monkeycharger.git] / vendor / plugins / rspec / rspec / examples / pure / predicate_example.rb
blob1202bb67071d8ddc5feeb702d60be10fcca5133c
1 require File.dirname(__FILE__) + '/spec_helper'
3 class BddFramework
4   def intuitive?
5     true
6   end
7   
8   def adopted_quickly?
9     true
10   end
11 end
13 describe "BDD framework" do
15   before(:each) do
16     @bdd_framework = BddFramework.new
17   end
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
27 end