lib/serverspec/matcher/be_running.rb in serverspec-2.29.2 vs lib/serverspec/matcher/be_running.rb in serverspec-2.30.0
- old
+ new
@@ -5,9 +5,15 @@
else
subject.running?
end
end
+ description do
+ message = 'be running'
+ message << " under #{@under}" if @under
+ message
+ end
+
chain :under do |under|
@under = under
end
end