I have a field with a proper label that I can fill in with capybara without a problem:
fill_in \'Your name\', with: \'John\'
I\'d like to check
If the field is a hidden one with an id of 'some_field', then you can use
expect(find("input#somefield", :visible => false).value).to eq 'John'