spec/code/string_spec.rb in code-ruby-0.5.2 vs spec/code/string_spec.rb in code-ruby-0.5.3
- old
+ new
@@ -13,10 +13,11 @@
["'Hello Dorian'", "Hello Dorian"],
['"Hello Dorian"', "Hello Dorian"],
["'Hello \\{name}'", "Hello {name}"],
['"Hello \\{name}"', "Hello {name}"],
["'Hello {1}'", "Hello 1"],
- ['"Hello {1}"', "Hello 1"]
+ ['"Hello {1}"', "Hello 1"],
+ ['"Hello".include?("H")', "true"]
].each do |input, output|
context input do
let(:input) { input }
it { expect(subject).to eq(output) }
end