There is a spec with few cases, and a method within this spec:
def option
input_value
end
it 'sends the correct data' do
let(:input_value) { 'smth' }
expect ..
end
is it possible to set input_value
within context
or it
and send it to option
? so that option
returns smth
? thanks!
Aucun commentaire:
Enregistrer un commentaire