-
-
Save damncabbage/20b878b09b5b0c5459f7 to your computer and use it in GitHub Desktop.
Revisions
-
damncabbage revised this gist
Apr 22, 2015 . 2 changed files with 26 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ require 'rspec' require 'rspec/autorun' module Foo end RSpec.describe Foo do This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,26 @@ Foo tests (FAILED - 1) Failures: 1) Foo tests Failure/Error: expect(subject.class).to eq(Foo) expected: Foo got: Module (compared using ==) Diff: @@ -1,2 +1,2 @@ -Foo +Module # ./foo.rb:9:in `block (2 levels) in <top (required)>' Finished in 0.00131 seconds 1 example, 1 failure Failed examples: rspec ./foo.rb:8 # Foo tests -
radar created this gist
Apr 22, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ require 'rspec' require 'rspec/autorun' class Foo end RSpec.describe Foo do it "tests" do expect(subject.class).to eq(Foo) end end This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ . Finished in 0.00176 seconds (files took 0.16787 seconds to load) 1 example, 0 failures