mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Cleaned an unnecessary should statement
This commit is contained in:
parent
cb5d9e6547
commit
0de2794be2
1 changed files with 0 additions and 4 deletions
|
@ -17,10 +17,6 @@ class ProductTest < ActiveSupport::TestCase
|
|||
@product = Product.new(:tangible => true)
|
||||
end
|
||||
|
||||
should "be tangible" do
|
||||
assert @product.tangible?
|
||||
end
|
||||
|
||||
should_require_attributes :price
|
||||
should_ensure_value_in_range :price, 1..9999
|
||||
should_ensure_value_in_range :weight, 1..100
|
||||
|
|
Loading…
Add table
Reference in a new issue