]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/gems/rspec-1.1.2/stories/resources/stories/failing_story.rb
added RSpec and RSpec on Rails
[rails.git] / vendor / gems / rspec-1.1.2 / stories / resources / stories / failing_story.rb
diff --git a/vendor/gems/rspec-1.1.2/stories/resources/stories/failing_story.rb b/vendor/gems/rspec-1.1.2/stories/resources/stories/failing_story.rb
new file mode 100644 (file)
index 0000000..cc9506c
--- /dev/null
@@ -0,0 +1,15 @@
+$:.push File.join(File.dirname(__FILE__), *%w[.. .. .. lib])
+
+require 'spec/story'
+
+Story "Failing story",
+%(As an RSpec user
+  I want a failing test
+  So that I can observe the output) do
+
+  Scenario "Failing scenario" do
+    Then "true should be false" do
+      true.should == false
+    end
+  end
+end