Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (15 sloc) 0.348 kB
require: "lib/stringio"
FancySpec describe: StringIO with: {
before_each: {
@s = StringIO new
}
it: "returns the empty string on initialization" with: 'string when: {
@s string is: ""
}
it: "appends strings to its string value" with: '<< when: {
@s << "foo"
@s << "\n"
@s << "bar"
@s string is: "foo\nbar"
}
}
Jump to Line
Something went wrong with that request. Please try again.