spec/macros4cuke/templating/engine_spec.rb in macros4cuke-0.3.39 vs spec/macros4cuke/templating/engine_spec.rb in macros4cuke-0.3.40
- old
+ new
@@ -248,11 +248,11 @@
context 'Provided services:' do
it 'should know the variable(s) it contains' do
# Case using the sample template
- expect(subject.variables).to be == ['userid', 'password']
+ expect(subject.variables).to be == %w[userid password]
# Case of an empty source template text
instance = Engine.new ''
expect(instance.variables).to be_empty
end
@@ -353,6 +353,6 @@
end # module
end # module
-# End of file
\ No newline at end of file
+# End of file