Sha256: 9043d29ea47e1bff454eb51d58955d426b23357ac9ee8688695ae15ad42b22dd
Contents?: true
Size: 495 Bytes
Versions: 1
Compression:
Stored size: 495 Bytes
Contents
require "spec_helper" describe "some example specs" do it "should succeed" do true.should be_true end it "should fail" do false.should be_true end it "should raise" do raise ArgumentError end it "should be pending" do pending end after :each, :attachment do example.execution_result[:attachments] ||= [] example.execution_result[:attachments] << __FILE__ end it "should have an attachment", :attachment do end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dtpformatter-1.0.0 | example/spec/example_spec.rb |