Displaying 1 result from an estimated 1 matches for "test_app2".
Did you mean:
test_app
2013 Sep 07
0
[shoulda-matchers gem] validate_numericality_of_matcher strange behaviour
...th_of(value).is_at_least(3).is_at_most(50) }
end
it { should ensure_length_of(:description).is_at_least(3).is_at_most(250)
}
it { should validate_numericality_of(:salary).is_greater_than(2) }
end
----------------------------------
Console output: (I''m running the same spec)
~/ror/test_app2$ rspec spec/models/vacancy_spec.rb
..............
Finished in 1.46 seconds
14 examples, 0 failures
Randomized with seed 36106
~/ror/test_app2$ rspec spec/models/vacancy_spec.rb
..............
Finished in 1.48 seconds
14 examples, 0 failures
Randomized with seed 898
~/ror/test_app2$ rspec sp...