- describe 'accepts numbers between and including the limits' do
- it { is_expected.to run.with_params(10.0, 10.0, -10.0) }
- it { is_expected.to run.with_params(-10.0, 10.0, -10.0) }
- it { is_expected.to run.with_params(1, 10.0, -10.0) }
- it { is_expected.to run.with_params(-1, 10.0, -10.0) }
- it { is_expected.to run.with_params('1', 10.0, -10.0) }
- it { is_expected.to run.with_params('-1', 10.0, -10.0) }
- it { is_expected.to run.with_params([1, 2, 3, 4], 10.0, -10.0) }
- it { is_expected.to run.with_params([1, '2', '3', 4], 10.0, -10.0) }
- end
+ describe 'accepts numbers between and including the limits' do
+ it { is_expected.to run.with_params(10.0, 10.0, -10.0) }
+ it { is_expected.to run.with_params(-10.0, 10.0, -10.0) }
+ it { is_expected.to run.with_params(1, 10.0, -10.0) }
+ it { is_expected.to run.with_params(-1, 10.0, -10.0) }
+ it { is_expected.to run.with_params('1', 10.0, -10.0) }
+ it { is_expected.to run.with_params('-1', 10.0, -10.0) }
+ it { is_expected.to run.with_params([1, 2, 3, 4], 10.0, -10.0) }
+ it { is_expected.to run.with_params([1, '2', '3', 4], 10.0, -10.0) }