Sha256: 6dc412cd5caca8da46ff084ab3aa430ed6d4eabdb9d6ade4ee40538dbd18977d
Contents?: true
Size: 455 Bytes
Versions: 4
Compression:
Stored size: 455 Bytes
Contents
require 'test_helper' class PlaceTest < ActiveSupport::TestCase def test_access_grid_method assert_equal "168x", Place.style_grid_3 assert_equal "54x", Place.style_publisher end def test_image_cover @place = Place.create(:name => "Busk") @image = @place.images.create(:photo => example_file, :priority => 0) @place.images.create(:photo => example_file, :priority => 1) assert_equal @place.image_cover, @image end end
Version data entries
4 entries across 4 versions & 1 rubygems