Sha256: 68d04e366d8e47eadf7337b81b471b960edd8f1c439873b112d3bf2daa08529b
Contents?: true
Size: 478 Bytes
Versions: 37
Compression:
Stored size: 478 Bytes
Contents
require 'spec_helper' describe "Load samples" do it "doesn't raise any error" do expect { # Seeds are only run for rake test_app so to allow this spec to pass without # rerunning rake test_app every time we must load them in if not already. unless Spree::Zone.find_by_name("North America") load Rails.root + 'Rakefile' load Rails.root + 'db/seeds.rb' end SpreeSample::Engine.load_samples }.to output.to_stdout end end
Version data entries
37 entries across 37 versions & 1 rubygems