Sha256: 1a380c321b599331ac2d24ef995cb9feee5425b33d549d151cc1307e943cfcd0

Contents?: true

Size: 634 Bytes

Versions: 54

Compression:

Stored size: 634 Bytes

Contents

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

  it "should not respond to test" do
    #this will fail
    @bdd_framework.test
  end

end

Version data entries

54 entries across 54 versions & 6 rubygems

Version Path
dchelimsky-rspec-1.1.11.1 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.11.2 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.11.3 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.11.4 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.11.5 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.11.6 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.11.7 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.12 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.99.1 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.99.13 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.99.2 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.99.3 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.99.4 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.99.5 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.99.6 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.99.7 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.99.8 examples/failing/predicate_example.rb
dchelimsky-rspec-1.1.99.9 examples/failing/predicate_example.rb
newbamboo-evented-rspec-1.1.12 examples/failing/predicate_example.rb
newbamboo-rspec-1.1.12 examples/failing/predicate_example.rb