Created
March 21, 2017 16:12
-
-
Save changemewtf/197ef3c4c69983dcaa27e9dc39ccdc9b 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
BASIC_BIND = <<-YAML.strip | |
First Name: Max | |
Last Name: Cantor | |
Display Name: !bind First Name | |
YAML | |
RSpec.describe Yuby do | |
it "performs basic binding" do | |
hash = Yuby.load BASIC_BIND | |
expect(hash["Display Name"]).to( | |
eq "Max") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment