You may probably want to rewrite your spec to something along these lines:
.should have_text("$20.30")
which is much more easier to understand and doesn't depend on any part of your implementation.
-- Luismi
The reason it's hard to do what you're trying is because, as a general rule, it is not a good practice to include and use parts of your implementation in your specs, since they'd get coupled to your implementation and you wouldn't be really testing those parts of your code (in this example, your helpers and your models).
You may probably want to rewrite your spec to something along these lines:
.should have_text("$20.30")
which is much more easier to understand and doesn't depend on any part of your implementation.