Skip to content

Commit

Permalink
fix class name in template_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianmariecom committed Aug 28, 2024
1 parent c14964b commit f389ba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/template_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

require "spec_helper"

RSpec.describe Code do
RSpec.describe Template do
[
["{name = :Dorian nothing}Hello {name}", "Hello Dorian"]
].each do |input, expected|
it "#{input} == #{expected}" do
expect(Template.evaluate(input)).to eq(expected)
expect(described_class.evaluate(input)).to eq(expected)
end
end
end

0 comments on commit f389ba3

Please sign in to comment.