Sha256: a75f3b6c397cfdca65ae64d3bd32a59436ef3758d8fec2a14096944ba5ad58e2

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

class BddFramework
  def intuitive?
    true
  end
  
  def adopted_quickly?
    true
  end
end

context "BDD framework" do

  setup do
    @bdd_framework = BddFramework.new
  end

  specify "should be adopted quickly" do
    @bdd_framework.should_be_adopted_quickly
  end
  
  specify "should be intuitive" do
    @bdd_framework.should_be_intuitive
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-0.7.5 examples/predicate_example.rb
rspec-0.7.5.1 examples/predicate_example.rb