require 'spec_helper' module Beatport::Catalog describe Slide do describe '.header' do it "should get the header slides for the home page" do slides = Slide.header slides.length.should be >= 1 end it "should get the headers slides for the trance page" do slides = Slide.header slides.length.should be >= 1 end end describe '.feature' do it "should get the feature slides for the home page" do slides = Slide.feature slides.length.should be > 1 end it "should get the feature slides for the trance page" do slides = Slide.feature slides.length.should be > 1 end end describe '.small' do it "should get the small slides for the home page" do slides = Slide.small slides.length.should be > 1 end it "should get the small slides for the trance page" do slides = Slide.small slides.length.should be > 1 end end end end