features/step_definitions/pwm.rb in pwm-1.2.1 vs features/step_definitions/pwm.rb in pwm-1.2.2
- old
+ new
@@ -1,3 +1,3 @@
-Then /^the password should be (\d+) characters long$/ do |length|
- expect(all_output.strip.length).to eq length.to_i
+Then(/^the password should be (\d+) characters long$/) do |length|
+ expect(all_output.strip.length).to eq(length.to_i)
end