Created
March 28, 2011 05:32
-
-
Save wbailey/890042 to your computer and use it in GitHub Desktop.
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 characters
module Kata | |
module Base | |
describe "DSL" do | |
before :each do | |
@summary = 'sample summary' | |
[...] | |
end | |
describe "#kata" do | |
[...] | |
it "displays the summary" do | |
output = capture_stdout do | |
lambda { | |
kata @summary | |
}.should_not raise_exception | |
end | |
output.should have_summary @display_summary | |
end | |
[...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment