Skip to content

Instantly share code, notes, and snippets.

@mpelzsherman
Last active August 29, 2015 14:16
Show Gist options
  • Save mpelzsherman/5e1a8943bbf4b19c8e89 to your computer and use it in GitHub Desktop.
Save mpelzsherman/5e1a8943bbf4b19c8e89 to your computer and use it in GitHub Desktop.
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