spec/lib/helmsman/helm_spec.rb in helmsman-0.0.7 vs spec/lib/helmsman/helm_spec.rb in helmsman-0.0.8
- old
+ new
@@ -22,7 +22,12 @@
end
it '#default_disabled_tooltip_translation_key' do
helm.default_disabled_tooltip_translation_key.should eq 'helmsman.disabled_tooltip'
end
+
+ it '#name returns the setted name before the i18n fallback' do
+ helm.name = 'Foobar'
+ helm.name.should eq 'Foobar'
+ end
end
end