aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber')
0 files changed, 0 insertions, 0 deletions
e='hotfix/0.18.0.4'>hotfix/0.18.0.4 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/plugins/rspec/failing_examples/predicate_example.rb
blob: 53b6367e2d35c8756c414de0b89ac4c804eb44de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require File.dirname(__FILE__) + '/spec_helper'

class BddFramework
  def intuitive?
    true
  end

  def adopted_quickly?
    #this will cause failures because it reallly SHOULD be adopted quickly
    false
  end
end

describe "BDD framework" do

  before(:each) do
    @bdd_framework = BddFramework.new
  end

  it "should be adopted quickly" do
    #this will fail because it reallly SHOULD be adopted quickly
    @bdd_framework.should be_adopted_quickly
  end

  it "should be intuitive" do
    @bdd_framework.should be_intuitive
  end

end