Sha256: 6e52fe3f61febe99eaa40c74fdb2eeae8c4164e7f68535eadb710aeae462b9c2

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

module Workarea
  decorate Storefront::ReviewsHelperTest, with: 'nvy_theme' do
    def test_rating_stars_displays_correct_rating
      assert_match(/1 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-nvy_theme-1.2.0 test/helpers/workarea/storefront/reviews_helper_test.decorator