Last active
August 29, 2015 14:16
-
-
Save mpelzsherman/5e1a8943bbf4b19c8e89 to your computer and use it in GitHub Desktop.
This file contains 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 Letters | |
class A | |
def to_s | |
"A" | |
end | |
end | |
end | |
describe Letters:A | |
subject { described_class.new } | |
describe "to_s" | |
it "should emit the string 'A'" do | |
expect(subject.to_s).to eq('A') | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment