No need to introduce that local variable here. Just use single line:
```ruby
browser.input(:name => "email").type.should == "email"
```

Also, when you're only asserting this then why did you also add `date` and `number` types into the html?