spec/units/dugway/theme_spec.rb in dugway-0.8.1 vs spec/units/dugway/theme_spec.rb in dugway-0.8.2
- old
+ new
@@ -100,16 +100,16 @@
end
end
describe "#files" do
it "should return an array of all files" do
- theme.files.should == ["cart.html", "checkout.html", "contact.html", "home.html", "layout.html", "maintenance.html", "product.html", "products.html", "screenshot.jpg", "settings.json", "success.html", "theme.css", "theme.js", "images/bc_badge.png"]
+ theme.files.should == ["cart.html", "checkout.html", "contact.html", "home.html", "layout.html", "maintenance.html", "product.html", "products.html", "screenshot.jpg", "settings.json", "success.html", "theme.css", "theme.js", "images/bc_badge.png", "images/small.svg"]
end
end
describe "#image_files" do
it "should return an array of all image files" do
- theme.image_files.should == ["images/bc_badge.png"]
+ theme.image_files.should == ["images/bc_badge.png", "images/small.svg"]
end
end
describe "#valid?" do
it "should return true when a theme has everything it needs" do