1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00

Slight refactor

This commit is contained in:
Jon Leighton 2013-01-26 19:52:01 +00:00
parent 16160e7a99
commit 960007a166

View file

@ -29,8 +29,7 @@ module Capybara::Poltergeist
end
def expires
return nil unless @attributes['expires']
Time.parse @attributes['expires']
Time.parse @attributes['expires'] if @attributes['expires']
end
end
end