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