aboutsummaryrefslogtreecommitdiff
path: root/spec/lib/helpers_spec.rb
diff options
context:
space:
mode:
authormms <git@sapka.me>2024-11-27 20:50:16 +0100
committermms <git@sapka.me>2024-11-27 20:50:16 +0100
commit1354fcfd222a922762999cd6a97dfe5845d4f835 (patch)
tree44522c5d6eddcd58e98f8507c274a8c1ca351112 /spec/lib/helpers_spec.rb
parent4c911a441e9533b5bb323b26be748abfd4c5d316 (diff)
Diffstat (limited to 'spec/lib/helpers_spec.rb')
-rw-r--r--spec/lib/helpers_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/helpers_spec.rb b/spec/lib/helpers_spec.rb
index 5b841e4..c2f21f3 100644
--- a/spec/lib/helpers_spec.rb
+++ b/spec/lib/helpers_spec.rb
@@ -6,10 +6,10 @@ require_relative '../../lib/chotto/helpers'
RSpec.describe Chotto::Helpers do
let(:subject) { Chotto::Helpers }
describe '#header_name_from_dsl' do
- it { expect(subject.header_name_from_dsl('word')).to eq('Word') }
- it { expect(subject.header_name_from_dsl('wOrd')).to eq('Word') }
- it { expect(subject.header_name_from_dsl('Word')).to eq('Word') }
+ it { expect(subject.header_name_from_dsl('word')).to eq('word') }
+ it { expect(subject.header_name_from_dsl('wOrd')).to eq('word') }
+ it { expect(subject.header_name_from_dsl('Word')).to eq('word') }
- it { expect(subject.header_name_from_dsl('many_words')).to eq('Many-Words') }
+ it { expect(subject.header_name_from_dsl('many_words')).to eq('many-words') }
end
end