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