Sha256: c4b2831ba98e3629c14c06580ea8765a2c17a26844e548bfcb5b21213d9de907
Contents?: true
Size: 543 Bytes
Versions: 1
Compression:
Stored size: 543 Bytes
Contents
require "test_helper" class Spree::RetailersIntegrationTest < ActiveSupport::IntegrationCase def setup @image = File.expand_path("../../../support/files/1.jpg", __FILE__) @retailer = retailers(:one) @retailer.update_attribute(:logo, File.open(@image)) end should "get index of retailers" do visit spree.retailers_path within ".retailer" do assert_seen @retailer.name within ".retailer-logo" do assert has_xpath?("//img[@src='#{@retailer.logo.url(:thumb)}']") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_retailers-1.0.0.0 | test/integration/spree/retailers_integration_test.rb |