test/components/capabilities/resourceful_test.rb in express_templates-0.5.0 vs test/components/capabilities/resourceful_test.rb in express_templates-0.7.0

- old
+ new

@@ -4,19 +4,19 @@ module Engine end class SmartThing include ExpressTemplates::Components::Capabilities::Resourceful - attr_accessor :virtual_path + attr_accessor :virtual_path, :config def initialize(virtual_path, config = {}) @virtual_path = virtual_path @config = config @args = [self] end - def template - self + def template_virtual_path + @virtual_path end end end module Admin; end