~ubuntu-branches/ubuntu/oneiric/puppet/oneiric-security

« back to all changes in this revision

Viewing changes to vendor/gems/rspec/stories/resources/stories/failing_story.rb

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Pollock
  • Date: 2009-04-13 17:12:47 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (3.1.3 squeeze) (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20090413171247-61zlnwi5esw1lhtv
ImportĀ upstreamĀ versionĀ 0.24.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
$:.push File.join(File.dirname(__FILE__), *%w[.. .. .. lib])
2
 
 
3
 
require 'spec/story'
4
 
 
5
 
Story "Failing story",
6
 
%(As an RSpec user
7
 
  I want a failing test
8
 
  So that I can observe the output) do
9
 
 
10
 
  Scenario "Failing scenario" do
11
 
    Then "true should be false" do
12
 
      true.should == false
13
 
    end
14
 
  end
15
 
end