Updated

features/step_definitions / ssl_steps.rb

A
7 lines of codes
0 methods
N/A complexity/method
2 churn
12.44 complexity
0 duplications
Then /^I should (not |)be connected to the server via an ssl connection$/ do |ssl_or_not| if ssl_or_not.blank? expect(current_url).to match(%r!^https://!) else expect(current_url).to match(%r!^http://!) end end