Sha256: 6eaddff8d350edb7005f16eded30b9cae89a33d2607e6755669120316efe7457
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
require 'test_helper' module Workarea decorate Storefront::ReviewsHelperTest, with: :one_theme do def test_rating_stars_displays_correct_rating assert_match(/1(?:\.0)? out of 5 stars/, rating_stars(1)) assert_match(/2\.5 out of 5 stars/, rating_stars(2.5)) assert_match(/4\.25 out of 5 stars/, rating_stars(4.251)) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workarea-one_theme-1.3.0 | test/helpers/workarea/storefront/reviews_helper_test.decorator |