Sha256: 37145775fdd52f7a9655c15c95ce02a9221e402fccb0f416475366cd9a728ac0

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

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

# Run "spec implicit_docstrings_example.rb --format specdoc" to see the output of this file

describe "Examples with no docstrings generate their own:" do

  specify { 3.should be < 5 }
  
  specify { ["a"].should include("a") }
  
  specify { [1,2,3].should respond_to(:size) }
  
end

describe 1 do
  it { should == 1 }
  it { should be < 2}
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspec-1.2.0 examples/passing/implicit_docstrings_example.rb
rspec-1.2.2 examples/passing/implicit_docstrings_example.rb
rspec-1.2.1 examples/passing/implicit_docstrings_example.rb