spec/support/models/my_configurable.rb in sinclair-1.3.1 vs spec/support/models/my_configurable.rb in sinclair-1.3.2
- old
+ new
@@ -1,7 +1,8 @@
# frozen_string_literal: true
class MyConfigurable
extend Sinclair::Configurable
- configurable_with :host, :port
+ # port is defaulted to 80
+ configurable_with :host, port: 80
end