Replace an {variable} inside a string
It should replace a variable inside a page
`-{key}-`.replaceVariable("key", "value").should.equal("-value-");
See Implementation
Replace an {variable} inside a string