Sha256: 145cc7c3babc830847db9d4e48bce216611a20d929d7430d3b2b09a82fd2ff9f

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

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
    
    
    
    

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beatport-0.1.3 spec/catalog/slide_spec.rb
beatport-0.1.2 spec/catalog/slide_spec.rb
beatport-0.1.1 spec/catalog/slide_spec.rb