Sha256: 8fdb670494c6c6333b962021d87bf54759d8df914d515989302ae77cb6adf4bf
Contents?: true
Size: 511 Bytes
Versions: 158
Compression:
Stored size: 511 Bytes
Contents
Feature: current example You can reference the example object, and access its metadata, using the `example` method within an example. Scenario: access the example object from within an example Given a file named "spec/example_spec.rb" with: """ describe "an example" do it "knows itself as example" do example.description.should eq("knows itself as example") end end """ When I run `rspec spec/example_spec.rb` Then the example should pass
Version data entries
158 entries across 103 versions & 14 rubygems