And this would be:

```ruby
on(DetailPage).slider_label.should eq(value.to_f)
```