Skip to content

Commit

Permalink
Removing debug code in favour of frankly_os_version
Browse files Browse the repository at this point in the history
  • Loading branch information
seanoshea authored and qmfrederik committed Jan 20, 2016
1 parent f0fc517 commit 8096656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gem/lib/frank-cucumber/core_frank_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
end

Then /^I should not see an alert view$/ do
if ENV['LAST_IOS_VERSION'].to_f >= 7.0
if frankly_os_version.to_f >= 7.0
check_element_does_not_exist( '_UIModalItemRepresentationView' )
else
check_element_does_not_exist( 'alertView' )
Expand Down

0 comments on commit 8096656

Please sign in to comment.