BigW Consortium Gitlab

Commit ace3bf9a by Felipe Artur

Fix specs

parent 9870c055
......@@ -19,7 +19,8 @@ module QA
new.tap do |product|
factory.class.attributes.each_value do |attribute|
product.instance_exec(factory, attribute.block) do |factory, block|
product.define_singleton_method(attribute.name) { block.call(factory) }
value = block.call(factory)
product.define_singleton_method(attribute.name) { value }
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment